mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-01-10 07:33:01 +08:00
11 lines
169 B
Lua
11 lines
169 B
Lua
Citizen.CreateThread(function()
|
|
while true do
|
|
Wait(0)
|
|
|
|
if NetworkIsSessionStarted() then
|
|
TriggerServerEvent('hardcap:playerActivated')
|
|
|
|
return
|
|
end
|
|
end
|
|
end) |