13.12.2011, 12:26
Quote:
C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 028: invalid subscript (not an array or too many subscripts): "CarInfo" C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : warning 215: expression has no effect C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 001: expected token: ";", but found "]" C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 029: invalid expression, assumed zero C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
Quote:
public OnFilterScriptInit() { printf("Filterscript carownership.amx Initiated\n"); LoadCar(); for(new h = carsonserver; h < sizeof(CarInfo); h++) { AddStaticVehicleEx(CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000); LoadComponents(h); } return 1; } |

Quote:
AddStaticVehicleEx(CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000); |