question about show/hide objective for the player vehicle
#1

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
Reply
#2

Use SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective) » Objective 0.
Reply
#3

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
Reply
#4

I don't think you can do it without respawning the vehicle.
Reply
#5

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:

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)