View Full Version : Define a website

08/04/2012, 05:54 PM
Hello I cant manage to define a website
since the address has //, everything beyond that line gets commented.
any idea how to get around this

#define RADIO1 "http://www.blablabla.com"

Will use it so when i play i play RADIO1

08/04/2012, 05:57 PM
Make it easier, choose to play music well, I'll give an example:

if(strcmp("/music1", cmdtext, true) == 0)
PlayAudioStreamForPlayer(playerid, "Link to mp3");
return 1;

08/04/2012, 05:58 PM
it's not easier as I need to use the link 3 times for this code. and pasting it 3 times x 15 choices becomes annoying! specially if i want to change them on the go :P

08/04/2012, 06:06 PM
#define RADIO1 "http:\/\/www.blablabla.com"