10 lines
353 B
Lua
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)
|