Skip to content

Commit

Permalink
refactor: reconstruction of the loading screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Sep 10, 2024
1 parent caa3545 commit 519a6bc
Show file tree
Hide file tree
Showing 24 changed files with 541 additions and 1,630 deletions.
8 changes: 8 additions & 0 deletions server-data/resources/[bpt_addons]/bpt_loadscreen/client.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
local spawn1 = false

AddEventHandler("playerSpawned", function() -- Wait for player to spawn
if not spawn1 then
ShutdownLoadingScreenNui() -- Close loading screen resource
spawn1 = true
end
end)
Loading

0 comments on commit 519a6bc

Please sign in to comment.