2025-04-07 01:41:12 +00:00

10 lines
353 B
Lua

if GetResourceState('qb-core') ~= 'started' or GetResourceState('qbx_core') == 'started' then return end
-- Load / Unload Events --
RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
TriggerEvent('xt-prison:client:onLoad')
end)
RegisterNetEvent('QBCore:Client:OnPlayerUnload', function()
TriggerEvent('xt-prison:client:onUnload')
end)