SA-MP Forums Archive
Doesnt compile - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Doesnt compile (/showthread.php?tid=252549)



Doesnt compile - dannyk0ed - 01.05.2011

Soo the error is
Quote:

C:\Documents and Settings\Danny\Desktop\New Folder\Crystal RP\gamemodes\RP.pwn(7972) : error 017: undefined symbol "playerid"

AND THEN I PUT #define playerid and it doesnt compile,
It says Compiled nothing shows up?

Werid, please help?



Re: Doesnt compile - MadeMan - 01.05.2011

#define playerid doesn't fix it.

Show more code around line 7972.


Re: Doesnt compile - dannyk0ed - 01.05.2011

Quote:

ClearChatbox(i, 10);
SendClientMessage(i, COLOR_YELLOW2, "Welcome to the Los Santos.");
SendClientMessage(i, COLOR_GRAD1, "To call a taxi use call 444");
SendClientMessage(i, COLOR_GRAD1, "Danny Rules CO.");
SendClientMessage(i, COLOR_GRAD1, "To change your outfit you have to go to clothes shop");
SendClientMessage(i, COLOR_GRAD1, " ");
TextDrawHideForPlayer(i,lbt);
TextDrawHideForPlayer(i,lbb);
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
TogglePlayerControllable(i, 1);
MedicBill[i] = 0;
AfterTutorial[i] = 1;
SetTimerEx("UnsetAfterTutorial", 2500, false, "i", i);
SetTimerEx("UnsetFirstSpawn", 5000, false, "i", i);
SetPlayerPos(playerid,-1417.0,-295.8,14.1)

I want to make spawn at SF airport :/


Re: Doesnt compile - MadeMan - 01.05.2011

Change playerid to i


Re: Doesnt compile - dannyk0ed - 01.05.2011

I hate you lol
Thanks Man.


Re: Doesnt compile - dannyk0ed - 01.05.2011

I mean it worked


Re: Doesnt compile - MadeMan - 01.05.2011

Quote:
Originally Posted by dannyk0ed
Посмотреть сообщение
I hate you lol
Thanks Man.
I hate you too