mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
Revert respect ESX config
This commit is contained in:
+2
-3
@@ -46,10 +46,9 @@ end)
|
||||
|
||||
RegisterServerEvent('esx_status:update')
|
||||
AddEventHandler('esx_status:update', function(status)
|
||||
local _source = source
|
||||
local xPlayer = ESX.GetPlayerFromId(_source)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
if xPlayer ~= nil then
|
||||
if xPlayer then
|
||||
xPlayer.set('status', status)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user