28.10.2009, 09:31
Hi, I've got a little problem.
I've got these 4 errors:
Variable:
Line 55 (Here, I want to put back the player in the car id printed into variable "Carid")
Line 91 (Here I want to set the "Carid" variable for the result of "VehicleIdValue")
VehicleIdValue is:
Line 817:
"VehicleStarted" variable:
Thank you for any help.
I've got these 4 errors:
Код:
C:\Documents and Settings\Admin\Bureau\Advanced Engine System\filterscripts\asys.pwn(55) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\Admin\Bureau\Advanced Engine System\filterscripts\asys.pwn(91) : error 033: array must be indexed (variable "Carid") C:\Documents and Settings\Admin\Bureau\Advanced Engine System\filterscripts\asys.pwn(523) : error 033: array must be indexed (variable "Carid") C:\Documents and Settings\Admin\Bureau\Advanced Engine System\filterscripts\asys.pwn(818) : error 033: array must be indexed (variable "Carid")
pawn Код:
new Carid[MAX_VEHICLES] = 0;
pawn Код:
PutPlayerInVehicle(playerid, Carid, 0);
pawn Код:
Carid = VehicleIdValue;
pawn Код:
new VehicleIdValue = GetPlayerVehicleID(playerid);
pawn Код:
if(VehicleStarted[Carid] == 0 && Vehiclemodel!= 510 && Vehiclemodel != 509 && Vehiclemodel != 481)
pawn Код:
new VehicleStarted[MAX_VEHICLES] = 0;