mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
refactor: This function doesn't even do anything!
This commit is contained in:
@@ -55,7 +55,6 @@ AddEventHandler('esx:playerLoaded', function(playerData, isNew)
|
||||
model = `mp_m_freemode_01`,
|
||||
skipFade = false
|
||||
}, function()
|
||||
TriggerServerEvent('esx:onPlayerSpawn')
|
||||
TriggerEvent('esx:onPlayerSpawn')
|
||||
TriggerEvent('playerSpawned') -- compatibility with old scripts, will be removed soon
|
||||
TriggerEvent('esx:restoreLoadout')
|
||||
@@ -73,8 +72,6 @@ AddEventHandler('esx:playerLoaded', function(playerData, isNew)
|
||||
-- If they aren't new put that code here.
|
||||
end
|
||||
end)
|
||||
|
||||
TriggerEvent('esx:loadingScreenOff')
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:setMaxWeight')
|
||||
|
||||
Reference in New Issue
Block a user