ERRORS HELP! - 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: ERRORS HELP! (
/showthread.php?tid=568395)
ERRORS HELP! -
Fantje - 21.03.2015
Heey guys I get these errors:
PHP код:
C:\Users\Administrator\Desktop\TESTSERVER\gamemodes\SvTMike.pwn(6624) : error 028: invalid subscript (not an array or too many subscripts): "pCar"
C:\Users\Administrator\Desktop\TESTSERVER\gamemodes\SvTMike.pwn(6624) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\TESTSERVER\gamemodes\SvTMike.pwn(6624) : error 001: expected token: ";", but found "]"
C:\Users\Administrator\Desktop\TESTSERVER\gamemodes\SvTMike.pwn(6624) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\TESTSERVER\gamemodes\SvTMike.pwn(6624) : fatal error 107: too many error messages on one line
On line 6624:
PHP код:
pCar[playerid] = CreateVehicle(400, x, y, z, a, 0, 0, 0);
Re: ERRORS HELP! -
TwinkiDaBoss - 22.03.2015
How did you define the pCar, where did you define it, where is
pawn Код:
pCar[playerid] = CreateVehicle(400, x, y, z, a, 0, 0, 0);
placed?
Show us the entire code. We cant judge much based on 1 line.