chat_command_rounds 1.0.1

Added alias
This commit is contained in:
Resxt 2023-06-17 10:31:35 +02:00
parent d0b5874dcb
commit 21bc779ebd

View File

@ -2,10 +2,10 @@
Init() Init()
{ {
CreateCommand(level.chat_commands["ports"], "setround", "function", ::SetRoundCommand, 4); CreateCommand(level.chat_commands["ports"], "setround", "function", ::SetRoundCommand, 4, [], array("sr"));
CreateCommand(level.chat_commands["ports"], "previousround", "function", ::PreviousRoundCommand, 4); CreateCommand(level.chat_commands["ports"], "previousround", "function", ::PreviousRoundCommand, 4, [], array("pr"));
CreateCommand(level.chat_commands["ports"], "nextround", "function", ::NextRoundCommand, 4); CreateCommand(level.chat_commands["ports"], "nextround", "function", ::NextRoundCommand, 4, [], array("nr"));
CreateCommand(level.chat_commands["ports"], "restartround", "function", ::RestartRoundCommand, 4); CreateCommand(level.chat_commands["ports"], "restartround", "function", ::RestartRoundCommand, 4, [], array("rr"));
} }