Teleport the player to the map spawn on start

This commit is contained in:
a-bad-dev 2025-12-09 00:07:33 -04:00
commit dd5657c9ea

View file

@ -183,7 +183,7 @@ core.register_chatcommand("start", {
player:set_nametag_attributes({color = {a = 0}}) player:set_nametag_attributes({color = {a = 0}})
player:set_hp(20) player:set_hp(20)
player:set_pos({x=map_data.spawn_x, y=map_data.spawn_y, z=map_data.spawn_z})
player:set_properties({ player:set_properties({
pointable = true, -- allow players to be killable after the match starts pointable = true, -- allow players to be killable after the match starts
}) })