tweak: server banners & loading screen
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
local spawn1 = false
|
||||
|
||||
local spawn1 = false -- Variable pour vérifier si déjà spawn
|
||||
|
||||
AddEventHandler("playerSpawned", function () -- Attendre que le joueur spawn
|
||||
AddEventHandler("playerSpawned", function ()
|
||||
if not spawn1 then
|
||||
ShutdownLoadingScreenNui() -- Fermer la ressource d'écran de chargement
|
||||
ShutdownLoadingScreenNui()
|
||||
spawn1 = true
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user