SA-MP Forums Archive
SetVehicleParamsForPlayer objective bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: SetVehicleParamsForPlayer objective bug (/showthread.php?tid=585224)



SetVehicleParamsForPlayer objective bug - beckzy - 11.08.2015

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.


Re: SetVehicleParamsForPlayer objective bug - SickAttack - 12.08.2015

Read the wiki.

Quote:

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

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