mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
hotfix(es_extended/client/main.lua):reinitiating backwards compatibility with spawnmanager
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user