mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
single resource concept + first attempt to reorganize code
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ RegisterNUICallback('__chunk', function(data, cb)
|
||||
|
||||
if data['end'] then
|
||||
local msg = json.decode(Chunks[data.id])
|
||||
TriggerEvent(GetCurrentResourceName() .. ':message:' .. data.__type, msg)
|
||||
TriggerEvent(data.__namespace .. ':message:' .. data.__type, msg)
|
||||
Chunks[data.id] = nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user