mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Update main.lua
This commit is contained in:
@@ -385,8 +385,6 @@ AddEventHandler("esx:setJob", function(_, job, lastJob)
|
||||
end)
|
||||
|
||||
AddEventHandler("esx:playerLogout", function(playerId, cb)
|
||||
local xPlayer = ESX.GetPlayerFromId(playerId)
|
||||
|
||||
onPlayerDropped(xPlayer.source, "esx_player_logout")
|
||||
TriggerClientEvent("esx:onPlayerLogout", playerId)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user