Merge pull request #1313 from Arctos2win/main

hotfix(es_extended/client/main.lua):reinitiating backwards compatibility with spawnmanager
This commit is contained in:
Arctos2win
2024-02-14 01:21:20 +01:00
committed by GitHub
+1
View File
@@ -24,6 +24,7 @@ function ESX.SpawnPlayer(skin, coords, cb)
p:resolve()
end)
Citizen.Await(p)
TriggerEvent('playerSpawned', coords)
local playerPed = PlayerPedId()
FreezeEntityPosition(playerPed, true)