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



Compile errors - Tomix - 30.09.2013

Hello mates I made some commands for my GM and Im getting some errors

Код:
(2110) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
(2110) : warning 215: expression has no effect
(2110) : error 001: expected token: ";", but found "]"
(2110) : error 029: invalid expression, assumed zero
(2110) : fatal error 107: too many error messages on one line
This is line 2110:if(PlayerInfo[playerid][Level] >= 1)
Can anyone help me solve this case?


Re: Compile errors - EiresJason - 30.09.2013

Post the line that has something like this:
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];