mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 15:01:32 +00:00
Fix hacky methods
This commit is contained in:
@@ -1195,8 +1195,8 @@ ESX.ShowInventory = function()
|
||||
end
|
||||
|
||||
RegisterNetEvent('esx:serverCallback')
|
||||
AddEventHandler('esx:serverCallback', function(requestId, a, b, c, d, e, f, g ,h ,i ,j ,k, l, m, n, o, p, q, r, s, t, u ,v ,w, x ,y ,z)
|
||||
ESX.ServerCallbacks[requestId](a, b, c, d, e, f, g ,h ,i ,j ,k, l, m, n, o, p, q, r, s, t, u ,v ,w, x ,y ,z)
|
||||
AddEventHandler('esx:serverCallback', function(requestId, ...)
|
||||
ESX.ServerCallbacks[requestId](...)
|
||||
ESX.ServerCallbacks[requestId] = nil
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user