tweak: server banners & loading screen

This commit is contained in:
Jacob
2023-12-13 23:54:06 +00:00
parent 646e42aa6b
commit dc54f335be
4 changed files with 173 additions and 170 deletions
+3 -4
View File
@@ -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)