SetVehicleParamsForPlayer objective bug
#1

If you set the objective of a vehicle to 1 using SetVehicleParamsForPlayer you can't unset it by using 0. E.g:

Код:
SetVehicleParamsForPlayer(vehicleid, playerid, 1, 0);
That will show the objective above the vehicle and on the radar. However:

Код:
SetVehicleParamsForPlayer(vehicleid, playerid, 0, 0);
That should remove the objective, but it doesn't.
Reply
#2

Read the wiki.

Quote:

Vehicles must be respawned for the 'objective' to be removed.

https://sampwiki.blast.hk/wiki/SetVehicleToRespawn
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)