1
0
mirror of https://github.com/citizenfx/cfx-server-data.git synced 2026-05-26 16:39:59 +08:00
This commit is contained in:
guava
2016-12-15 13:40:07 +01:00
Unverified
commit ee4dd89693
95 changed files with 7368 additions and 0 deletions
@@ -0,0 +1,26 @@
-- more rline stuff, this does some late-term session management (which I think has some race condition with launching the network player?)
AddEventHandler('sessionInitialized', function()
if IsThisMachineTheServer() then
-- unknown stuff, seems needed though
NetworkChangeExtendedGameConfigCit()
CreateThread(function()
Wait(1500)
if not NetworkIsSessionStarted() then
NetworkStartSession()
while NetworkStartSessionPending() do
Wait(0)
end
if not NetworkStartSessionSucceeded() then
ForceLoadingScreen(0)
SetMsgForLoadingScreen("MO_SNI")
return
end
end
end)
end
end)