chat_command_teleport 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:42:39 +01:00
parent a6ca69944e
commit fd6ff8805f

View File

@ -2,7 +2,7 @@
Init()
{
CreateCommand(level.commands_servers_ports, "teleport", "function", ::TeleportCommand, ["default_help_two_players"]);
CreateCommand(level.chat_commands["ports"], "teleport", "function", ::TeleportCommand, 2, ["default_help_two_players"]);
}