mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
Fix source
This commit is contained in:
+6
-4
@@ -40,12 +40,14 @@ ESX.RegisterServerCallback('esx_service:enableService', function(source, cb, nam
|
||||
|
||||
end)
|
||||
|
||||
AddEventHandler('playerDropped', function(source)
|
||||
AddEventHandler('playerDropped', function()
|
||||
|
||||
local _source = source
|
||||
|
||||
for k,v in pairs(InService) do
|
||||
if v[source] == true then
|
||||
v[source] = nil
|
||||
if v[_source] == true then
|
||||
v[_source] = nil
|
||||
end
|
||||
end
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user