SA-MP Forums Archive
errors - 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: errors (/showthread.php?tid=239489)



errors - LZLo - 13.03.2011

PHP код:
public StatusUpdater()
{
        new 
killboxstring[256];
        
format(killboxstring,256,"Score:%d~n~~n~ping:%d"GetPlayerScore(i),GetPlayerPing(i));
        
TextDrawSetString(Status2[i], killboxstring);

Quote:

error 017: undefined symbol "i"
error 017: undefined symbol "i"




Re: errors - Tommy_Mandaz - 13.03.2011

either make a
Код:
new i = playerid
or replace every
Код:
 i
with
Код:
playerid



Re: errors - LZLo - 13.03.2011

i have tested that, it doesen't works, but thanks.

anyway solved the problem i searched in the gm