Waypoint

help

#1

How can I know my distance from me to the waypoint
Or
How can i know the coords of waypoint?


#2

Use these functions below

GET_PED_WAYPOINT_DISTANCE #
// 0xE6A877C64CAF1BC5 0x084B35B0
// GetPedWaypointDistance
float GET_PED_WAYPOINT_DISTANCE(Any p0);

or

GET_FIRST_BLIP_INFO_ID #
// 0x1BEDE233E6CD2A1F 0x64C0273D
// GetFirstBlipInfoId
Blip GET_FIRST_BLIP_INFO_ID(int blipSprite);
8 = waypoint

GET_BLIP_COORDS #
// 0x586AFE3FF72D996E 0xEF6FF47B
// GetBlipCoords
Vector3 GET_BLIP_COORDS(Blip blip);

Feel free to check out the FiveM native reference:
https://runtime.fivem.net/doc/reference.html


#3

How can i use this: GetPedWaypointDistance(Any p0)
What is p0?
Thanks you


#4

p0 is a ped, supply the function with a ped like GetPlayerPed(-1)