20.05.2017, 05:49
Are you setting the parameters beforehand?
"If a parameter is unset (SetVehicleParamsEx not used beforehand) the value will be -1 ('unset')." - Try changing
Possibly adding:
As an extra debug step might help.
"If a parameter is unset (SetVehicleParamsEx not used beforehand) the value will be -1 ('unset')." - Try changing
pawn Код:
if(doors == VEHICLE_PARAMS_OFF
//to
if(doors != VEHICLE_PARAMS_ON)
pawn Код:
//Before the if(doors == VEHICLE_PARAMS_OFF)
if(doors == VEHICLE_PARAMS_UNSET)
{
SendClientMessage(playerid, -1, "Vehicle params are unset");
}