chat_command_give 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:39:31 +01:00
parent 998d2ca5b0
commit a26a893fae

View File

@ -2,9 +2,9 @@
Init()
{
CreateCommand(level.commands_servers_ports, "giveweapon", "function", ::GiveWeaponCommand);
CreateCommand(level.commands_servers_ports, "givekillstreak", "function", ::GiveKillstreakCommand);
CreateCommand(level.commands_servers_ports, "givecamo", "function", ::GiveCamoCommand);
CreateCommand(level.chat_commands["ports"], "giveweapon", "function", ::GiveWeaponCommand, 2);
CreateCommand(level.chat_commands["ports"], "givekillstreak", "function", ::GiveKillstreakCommand, 3);
CreateCommand(level.chat_commands["ports"], "givecamo", "function", ::GiveCamoCommand, 2);
}