03.04.2017, 11:08
Quote:
Код:
VehicleCreate(VehicleInfo[vehicleID][vModel], VehicleInfo[vehicleID][vLoc][0],VehicleInfo[vehicleID][vLoc][1],VehicleInfo[vehicleID][vLoc][2], VehicleInfo[vehicleID][vLoc][3],VehicleInfo[vehicleID][vColor1], VehicleInfo[vehicleID][vColor2], VehicleInfo[vehicleID][vRespawn], Код:
VehicleCreate(vehicleModel, Float:vehicleLocX,Float:vehicleLocY,Float:vehicleLocZ,Float:vehicleLocRot, vehicleColor1, vehicleColor2, vehicleRespawn, vehicleOwner[], bool:vehicleLocked) |
Quote:
(50) : error 017: undefined symbol "vehicleLoc" (56) : error 017: undefined symbol "vehicleLoc" (56) : warning 215: expression has no effect (56) : error 001: expected token: ";", but found "]" (56) : error 029: invalid expression, assumed zero (56) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
PHP код:
VehicleInfo[vehicleid][vLoc] = vehicleLoc; // Assign our vehicle's position/rotation to the position/rotation provided.
PHP код:
VehicleInfo[vehicleid][vID] = CreateVehicle(vehicleModel, vehicleLoc[0], vehicleLoc[1], vehicleLoc[2], vehicleLoc[3], vehicleColor1, vehicleColor2,