mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 20:36:15 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
cdeeca752a
6 changed files with 37 additions and 36 deletions
|
|
@ -75,6 +75,7 @@ function set_player_mode(player, mode) -- Set player mode (spectator, pre-match,
|
|||
healthbar = true,
|
||||
breathbar = true,
|
||||
})
|
||||
|
||||
elseif mode == "spectator" then
|
||||
privs.noclip, privs.fast, privs.fly, privs.interact, privs.debug = true, true, true, false, true
|
||||
|
||||
|
|
@ -245,7 +246,6 @@ function end_match() -- End the match
|
|||
listring[current_player;main]
|
||||
]])
|
||||
|
||||
|
||||
player:set_properties({pointable = false})
|
||||
|
||||
set_player_mode(player, "normal")
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ core.register_on_joinplayer(function(player)
|
|||
list[current_player;main;0,1.25;8,3;8]
|
||||
listring[current_player;main]
|
||||
]])
|
||||
|
||||
player:set_properties({pointable = false})
|
||||
|
||||
player:hud_set_flags({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue