[HELP] I get these errors anyone know why? - 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: [HELP] I get these errors anyone know why? (
/showthread.php?tid=186816)
[HELP] I get these errors anyone know why? -
BigAl - 30.10.2010
1.
C:\Users\owner\Desktop\G2x_andreas.pwn(507) : error 017: undefined symbol "playerid"
2.
C:\Users\owner\Desktop\G2x_andreas.pwn(523) : error 017: undefined symbol "GetOnLinePlayers"
3.
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4.
5.
6.
2 Errors.
7.
8.
9.
//i get these errors whn i compile
10.
11.
//here is the lines
12.
13.
new strings[15];
14.
format(strings, 15, "%d/SLOTS OF THE SERVER :P",GetOnLinePlayers());
15.
TextDrawSetString(players, strings);
16.
TextDrawShowForPlayer(playerid, players);
TextDrawHideForAll(playerid);
Re: [HELP] I get these errors anyone know why? -
BigAl - 30.10.2010
Bump, please reply
Re : [HELP] I get these errors anyone know why? -
admantis - 30.10.2010
your placing the code in wrong callback or if it's a new callback made by yourself the parameters aren't matching, and GetPlayerOnLine players is NOT a native function from SA-MP, if it's form an include maybe you did wrong capitalization but that function isnt built in