chat_command_suicide 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:24 +01:00
parent 8451c5b118
commit a6ca69944e

View File

@ -2,7 +2,7 @@
Init()
{
CreateCommand(["27016", "27017"], "suicide", "function", ::SuicideCommand);
CreateCommand(level.chat_commands["ports"], "suicide", "function", ::SuicideCommand, 1);
}