SA-MP Forums Archive
error 017: undefined symbol "Giveplayerid" - 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)
+--- Thread: error 017: undefined symbol "Giveplayerid" (/showthread.php?tid=408842)



error 017: undefined symbol "Giveplayerid" - Jamch - 19.01.2013

C:\Users\JIMAA060295\Desktop\Crystal Life\gamemodes\LSRP.pwn(3692) : error 017: undefined symbol "Giveplayerid"
C:\Users\JIMAA060295\Desktop\Crystal Life\gamemodes\LSRP.pwn(3692) : error 029: invalid expression, assumed zero
C:\Users\JIMAA060295\Desktop\Crystal Life\gamemodes\LSRP.pwn(3692) : error 029: invalid expression, assumed zero
C:\Users\JIMAA060295\Desktop\Crystal Life\gamemodes\LSRP.pwn(3692) : fatal error 107: too many error messages on one line


{
Giveplayerid][pCrack] += 25;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 25 grams of crack!");
format(string, sizeof(string), "* %s was just gifted 25 grams of crack, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);

here are the errors and the lines. can someone help me please?


Re: error 017: undefined symbol "Giveplayerid" - gnoomen2 - 19.01.2013

Maybe you can change it with:

pawn Код:
[PlayerInfo][playerid][pCrack] += 25;