[release] [free] | sharp-spawnselect [esx]

last position doenst work

Hello, when i put this i get some error

how to fix it?

4k res doesnt line up correctly at all for me

Very much pain to add new locations and also much more pain to add dynamic locations.

Sadly, yes. But as mention before; this is my first time ever doing something like this, and it ain’t easy to get something to work 100% bigcock at a time

In your spawnamanger.lua find line number 327 and comment it out. Then put TriggerEvent(“spawnselector:setNui”, spawn) above or below it!
Like this:
local time = GetGameTimer()

    while (not HasCollisionLoadedAroundEntity(ped) and (GetGameTimer() - time) < 5000) do
        Citizen.Wait(0)
    end

    ShutdownLoadingScreen()

    if IsScreenFadedOut() then
        DoScreenFadeIn(500)

        while not IsScreenFadedIn() do
            Citizen.Wait(0)
        end
    end

    -- and unfreeze the player
    freezePlayer(PlayerId(), false)
	TriggerEvent("spawnselector:setNui", spawn) --  added for sharp-spawnselect by Xero~Day
    --TriggerEvent('playerSpawned', spawn)

    if cb then
        cb(spawn)
    end

    spawnLock = false
end)

end