How to get my own way point settings from map?

Am looking for a way to get my own way point that I have selected on map if that is even possible so I can display information such as how long it may take to get to that location so on?

Thanks

local Waypoint = GetFirstBlipInfoId(8)
local Coord = Citizen.InvokeNative(0xFA7C7F0AADF25D09, Waypoint, Citizen.ResultAsVector())

1 Like