chat_command_wallhack 1.0.1

Added permission level to CreateCommand following chat_commands 1.3.0 update

[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
This commit is contained in:
Resxt 2023-03-18 01:44:46 +01:00
parent 1e780b24c3
commit 09c2503c00

View File

@ -2,7 +2,7 @@
Init()
{
CreateCommand(level.commands_servers_ports, "wallhack", "function", ::WallhackCommand, ["default_help_one_player"]);
CreateCommand(level.chat_commands["ports"], "wallhack", "function", ::WallhackCommand, 4, ["default_help_one_player"]);
}