mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 09:48:52 +00:00
improvement(legacy/multichar): Fade screen to black instantly
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ local isPaused, isDead, pickups = false, false, {}
|
||||
Citizen.CreateThread(function()
|
||||
while NetworkIsPlayerActive(PlayerId()) and not Config.Multichar do
|
||||
Citizen.Wait(5)
|
||||
DoScreenFadeOut(500)
|
||||
DoScreenFadeOut(0)
|
||||
TriggerServerEvent('esx:onPlayerJoined')
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user