mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
Give the player more weapons and more ammo
This commit is contained in:
parent
fc0ed49147
commit
99705c7abe
1 changed files with 3 additions and 1 deletions
|
|
@ -206,7 +206,9 @@ core.register_chatcommand("start", {
|
||||||
local player_name = player:get_player_name()
|
local player_name = player:get_player_name()
|
||||||
inv = player:get_inventory()
|
inv = player:get_inventory()
|
||||||
inv:add_item("main", "ctf_ranged:ak47_loaded")
|
inv:add_item("main", "ctf_ranged:ak47_loaded")
|
||||||
inv:add_item("main", "ctf_ranged:ammo 15")
|
inv:add_item("main", "ctf_ranged:remington870_loaded")
|
||||||
|
inv:add_item("main", "ctf_ranged:glock17_loaded")
|
||||||
|
inv:add_item("main", "ctf_ranged:ammo 50")
|
||||||
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
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue