27.12.2017, 13:11
Код:
E:\SC-RP\scrp\gamemodes\rp.pwn(7740) : warning 202: number of arguments does not match definition E:\SC-RP\scrp\gamemodes\rp.pwn(9649) : warning 202: number of arguments does not match definition E:\SC-RP\scrp\gamemodes\rp.pwn(31985) : error 017: undefined symbol "GetVehicleParamsCarWindows" E:\SC-RP\scrp\gamemodes\rp.pwn(32004) : error 017: undefined symbol "SetVehicleParamsCarWindows" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
PHP код:
CarData[carid][carVehicle] = CreateVehicle(CarData[carid][carModel], CarData[carid][carPos][0], CarData[carid][carPos][1], CarData[carid][carPos][2], CarData[carid][carPos][3], CarData[carid][carColor1], CarData[carid][carColor2], (CarData[carid][carOwner] != 0) ? (-1) : (1200000), CarData[carid][carSiren]);
PHP код:
CarData[i][carVehicle] = CreateVehicle(modelid, x, y, z, angle, color1, color2, -1, -1);
PHP код:
GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driver, passenger, backleft, backright
PHP код:
SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driver, passenger, backleft, backright);