question about show/hide objective for the player vehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: question about show/hide objective for the player vehicle (
/showthread.php?tid=621154)
question about show/hide objective for the player vehicle -
gta191977649 - 07.11.2016
hello, im wondering if there is a way to remove player vehicle objective (yellow marker) without send the vehicle to respawn? or any plugin could do that?
thx
Re: question about show/hide objective for the player vehicle -
Dayrion - 07.11.2016
Use SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective) » Objective 0.
Re: question about show/hide objective for the player vehicle -
gta191977649 - 10.11.2016
Quote:
Originally Posted by Dayrion
Use SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective) » Objective 0.
|
but that will apply to the all player right?
any way with only one player?
thx
Re: question about show/hide objective for the player vehicle -
GoldenLion - 10.11.2016
I don't think you can do it without respawning the vehicle.
Re: question about show/hide objective for the player vehicle -
Threshold - 10.11.2016
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
Quote:
This can be circumvented somewhat using Get/SetVehicleParamsEx which do not require the vehicle to be respawned. It is worth noting however that the object will be disabled on a global scale, and this is only useful if only one player has the vehicle as an objective:
|