Define a website
#1

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
Reply
#2

Make it easier, choose to play music well, I'll give an example:

pawn Код:
if(strcmp("/music1", cmdtext, true) == 0)
{
    PlayAudioStreamForPlayer(playerid, "Link to mp3");
    return 1;
}
Reply
#3

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
Reply
#4

Use:
pawn Код:
#define RADIO1 "http:\/\/www.blablabla.com"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)