mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
fix(ambulancejob): Disable spawnPlayer export
- Fixes compatibility for players running basic-gamemode or maps
This commit is contained in:
@@ -2,12 +2,6 @@ local firstSpawn = true
|
||||
|
||||
isDead, isSearched, medic = false, false, 0
|
||||
|
||||
AddEventHandler("onClientMapStart", function()
|
||||
exports.spawnmanager:spawnPlayer()
|
||||
Citizen.Wait(5000)
|
||||
exports.spawnmanager:setAutoSpawn(false)
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:playerLoaded')
|
||||
AddEventHandler('esx:playerLoaded', function(xPlayer)
|
||||
ESX.PlayerData = xPlayer
|
||||
|
||||
Reference in New Issue
Block a user