05.10.2012, 11:30
Hello, what's wrong in this code?
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : error 001: expected token: "]", but found "-identifier-"
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : fatal error 107: too many error messages on one line
Код:
for(new i=0; i < sizeof(vInfo[vehicleid][Mods][]); i++) { AddVehicleComponent(vInfo[vehicleid][Id], vInfo[vehicleid][Mods][i]); }
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Paulius\Desktop\naujas.pwn(429) : fatal error 107: too many error messages on one line