#define URL "http://..." Help, please!
#1

Hello friends of SA:MP... I have a problem and I need help!
I want to define a URL:
pawn Code:
#define FIRST_BLOOD "http://bit.do/first-blood"
But I get this...
#define FIRST_BLOOD "http://bit.do/first-blood"

pawn Code:
PlayAudioStreamForPlayer(playerid, FIRST_BLOOD); //needs the url defined
Any one can help me?
Reply
#2

Why don't you try to go ahead and test if it works before making a complete thread?

pawn Code:
#define test "Test // string"
printf("%s",test);
Successfully outputs "Test // string" in the console, guess what also happens with #define FIRST_BLOOD "http://bit.do/first-blood"
Reply
#3

Oh yeah, thank you so much! Working fine!
I love you and I learned now!


@EDIT +rep to you!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)