SA-MP Forums Archive
how to fix these 4 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: how to fix these 4 errors? (/showthread.php?tid=132791)



how to fix these 4 errors? - hardstop - 09.03.2010

Код:
C:\DOCUME~1\Andrus\Desktop\ANDRUS~1\GAMEMO~1\rl.pwn(328) : error 017: undefined symbol "gLogged"
C:\DOCUME~1\Andrus\Desktop\ANDRUS~1\GAMEMO~1\rl.pwn(328) : warning 215: expression has no effect
C:\DOCUME~1\Andrus\Desktop\ANDRUS~1\GAMEMO~1\rl.pwn(328) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Andrus\Desktop\ANDRUS~1\GAMEMO~1\rl.pwn(328) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Andrus\Desktop\ANDRUS~1\GAMEMO~1\rl.pwn(328) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
I used this tutorial : http://forum.sa-mp.com/index.php?topic=126584.0


Re: how to fix these 4 errors? - Anwix - 09.03.2010

add

pawn Код:
new gLogged[MAX_PLAYERS];
at the top of your script, under your includes or something.