mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-20 04:55:43 +00:00
chat_command_dvars 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:
parent
36ced8fd0a
commit
93be9ab104
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
Init()
|
Init()
|
||||||
{
|
{
|
||||||
CreateCommand(level.commands_servers_ports, "getdvar", "function", ::GetDvarCommand);
|
CreateCommand(level.chat_commands["ports"], "getdvar", "function", ::GetDvarCommand, 2);
|
||||||
CreateCommand(level.commands_servers_ports, "setdvar", "function", ::SetDvarCommand);
|
CreateCommand(level.chat_commands["ports"], "setdvar", "function", ::SetDvarCommand, 4);
|
||||||
CreateCommand(level.commands_servers_ports, "setclientdvar", "function", ::SetPlayerDvarCommand);
|
CreateCommand(level.chat_commands["ports"], "setclientdvar", "function", ::SetPlayerDvarCommand, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user