SetVehicleParamsForPlayer
#1

I have searched.. well, I use SetVehicleParamsForPlayer function to set yellow marker on vehicle, but I want to remove the blip from the radar, is that possible?
Reply
#2

Mm
Have a look
at THIS
Reply
#3

You can't remove the marker, unless you do something with a IsVehicleStreamedIn or something to check that it is near, then a isplayerinrangeofpoint and do it to the cars x,y,z and do a range.


But, The method I am thinking of may cause lag and stuff... It's totally just as an idea of what you want.


What I think you want is for people to literally have to find the car without the map giving them the advantage. (Which would be cool, Just I don't think it is possible easily.)
Reply
#4

Changing VW for a short time will make the marker disappear.
Reply
#5

Quote:
Originally Posted by Balon
Changing VW for a short time will make the marker disappear.
so a 2 - 5 second warp to another VirtualWorld will remove the marker, But does it keep the arrow on the roof?

and, If you switch the VirtualWorld, The OnVehicleStreamIn will again be called?
Reply
#6

OnVehicleStreamIn is called several times every second.

I tried to do SetVehicleToRespawn on a vehicle under OnVehicleStreamIn, and the vehicle was gone (because it respawned that often).
I could see It some times like a millisecond or something, but that was It. :P
Reply
#7

Quote:

so a 2 - 5 second warp to another VirtualWorld will remove the marker, But does it keep the arrow on the roof?

Try with shorter amount of time, for example 500 ms.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)