[GPS] Setting a GPS travel for player


#1

Hi,

I can’t find the native to set up a GPS travel at specific coords.
I want to specify coords and set up the GPS so the player can follow it.

I’m pretty sure there is a native for it, isn’t it ?

http://www.dev-c.com/nativedb/


#2

You can try SET_NEW_WAYPOINT


#3

Create a blip and use SET_BLIP_ROUTE.


#4

Thank’s I will try and coment here.


#5

SetNewWaypoint seems to do the job.

It acts like a user placed marker but : SetBlipRoute(blip, true) seems to set as a mission marker.

I need to remove the “user marker” to only display the yellow one.

Thank’s a lot