[HELP] I get these errors anyone know why?
#1

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);
Reply
#2

Bump, please reply
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)