So i’m new to Lua and programming, maybe it’s just my inexperience but i don’t know how to set a gps (yellow gps like the mission gps on Gta 5 story mode) which uses the coordinates of a blip which has 9 possible random positions. I tried many Fivem Natives like: ![image|564x361]

Gps = function()
    
    if Config.DropOffLocations [true]  then

        SetGpsActive(
	    active [[ true ]])
   
    elseif  Config.DropOffLocations [false] then

        SetGpsActive(
        active [[ false ]])
 
    end

end
 or 

Gpstrue = function()

   -- SetBlipRoute(
	--blip [[ DropOffBlip ]], 
	--enabled [[ true ]]
end

then i found a Config.UseGpsRoute
image

but in the config it doesn’t refer to anything

The Native you use SetBlipRoute wants a bool (true, false) as param 2.

SetBlipRoute(DropoffBlip, true)

For the route color SetBlipRouteColour, there is no reference in your config for DropoffBlipColor. It wants a Integer (decimal color) as param 2.

Greetings :ok_hand: