SA-MP Forums Archive
What the fuck kind of error is this? - 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: What the fuck kind of error is this? (/showthread.php?tid=245603)



What the fuck kind of error is this? - Antonio [G-RP] - 01.04.2011

What the hell is this?

pawn Код:
new Fare[MAX_PLAYERS];
Then the line..

pawn Код:
if(Fare[playerid] > 0) // 3808
Код:
C:\Users\Lachlan\Desktop\Brand New Script\gamemodes\BNS.pwn(3808) : error 028: invalid subscript (not an array or too many subscripts): "Fare"
C:\Users\Lachlan\Desktop\Brand New Script\gamemodes\BNS.pwn(3808) : warning 215: expression has no effect
C:\Users\Lachlan\Desktop\Brand New Script\gamemodes\BNS.pwn(3808) : error 001: expected token: ";", but found "]"
C:\Users\Lachlan\Desktop\Brand New Script\gamemodes\BNS.pwn(3808) : error 029: invalid expression, assumed zero
C:\Users\Lachlan\Desktop\Brand New Script\gamemodes\BNS.pwn(3808) : fatal error 107: too many error messages on one line



Re: What the fuck kind of error is this? - ronnie3148 - 01.04.2011

need the whole if statement.. not just the line