SA-MP Forums Archive
Need help with 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: Need help with ERRORS. (/showthread.php?tid=109812)



Need help with ERRORS. - Lynax - 22.11.2009

Errors
Код:
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : warning 215: expression has no effect
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : fatal error 107: too many error messages on one line

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


4 Errors.
171:
Код:
KillTimer( PlayerInfo[playerid][SpawnTimer] );



Re: Need help with ERRORS. - Tigerbeast11 - 22.11.2009

Код:
Quote:
Originally Posted by |»Lynax«| Kerim™ TR | C-
Errors
Код:
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : warning 215: expression has no effect
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Kerim\Belgelerim\SAMP\gamemodes\Swatv1337.pwn(171) : fatal error 107: too many error messages on one line

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


4 Errors.
171:
Код:
KillTimer( PlayerInfo[playerid][SpawnTimer] );

Try...
171:
Код:
KillTimer( PlayerInfo[playerid],[SpawnTimer] );



Re: Need help with ERRORS. - Lynax - 22.11.2009

Nothing changes...


Re: Need help with ERRORS. - Tigerbeast11 - 22.11.2009

Well, it was a guess =S



Re: Need help with ERRORS. - dice7 - 22.11.2009

Would you stop fucking spamming with your problem
http://forum.sa-mp.com/index.php?topic=134835.0
http://forum.sa-mp.com/index.php?topic=134765.0

Ask in the thread you found the code