ed
This commit is contained in:
parent
7533584a53
commit
c6be40ffbd
18 changed files with 1492 additions and 3 deletions
12
resources/[jobs]/[crime]/r_moneywash/utils/client.lua
Normal file
12
resources/[jobs]/[crime]/r_moneywash/utils/client.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
Core = exports['r_bridge']:returnCoreObject()
|
||||
|
||||
local onPlayerLoaded = Core.Info.Framework == 'ESX' and 'esx:playerLoaded' or 'QBCore:Client:OnPlayerLoaded'
|
||||
RegisterNetEvent(onPlayerLoaded, function()
|
||||
TriggerEvent('r_moneywash:onConnect')
|
||||
end)
|
||||
|
||||
function _debug(...)
|
||||
if Cfg.Debug then
|
||||
print(...)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue