SetVehicleParamsEx problems
#2

Are you setting the parameters beforehand?

"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)
Possibly adding:
pawn Код:
//Before the if(doors == VEHICLE_PARAMS_OFF)
if(doors == VEHICLE_PARAMS_UNSET)
{
    SendClientMessage(playerid, -1, "Vehicle params are unset");
}
As an extra debug step might help.
Reply


Messages In This Thread
SetVehicleParamsEx problems - by TheAngryBird - 20.05.2017, 04:44
Re: SetVehicleParamsEx problems - by DobbysGamertag - 20.05.2017, 05:49
Re: SetVehicleParamsEx problems - by StrikerZ - 20.05.2017, 06:02
Re: SetVehicleParamsEx problems - by TheAngryBird - 20.05.2017, 06:12
Re: SetVehicleParamsEx problems - by StrikerZ - 20.05.2017, 06:28
Re: SetVehicleParamsEx problems - by TheAngryBird - 20.05.2017, 06:31
Re: SetVehicleParamsEx problems - by StrikerZ - 20.05.2017, 06:33
Re: SetVehicleParamsEx problems - by TheAngryBird - 20.05.2017, 06:38
Re: SetVehicleParamsEx problems - by StrikerZ - 20.05.2017, 06:43
Re: SetVehicleParamsEx problems - by Vince - 20.05.2017, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)