Arenas properties can be defined via chat too
parent
a573da8087
commit
3fc4d0d65c
|
@ -29,6 +29,11 @@ ChatCmdBuilder.new("quakeadmin", function(cmd)
|
|||
arena_lib.rename_arena(sender, mod, arena_name, new_name)
|
||||
end)
|
||||
|
||||
--
|
||||
cmd:sub("properties :arena :property :newvalue:text", function(sender, arena_name, property, new_value)
|
||||
arena_lib.change_arena_properties(sender, mod, arena_name, property, new_value)
|
||||
end)
|
||||
|
||||
-- cambio giocatori minimi/massimi
|
||||
cmd:sub("setplayers :arena :minplayers:int :maxplayers:int", function(sender, arena_name, min_players, max_players)
|
||||
arena_lib.change_players_amount(sender, mod, arena_name, min_players, max_players)
|
||||
|
|
Loading…
Reference in New Issue