Posts: 85
Threads: 22
Joined: Jul 2016
Reputation:
0
You mean a command to enabel other commands and a command to disable other commands?
or a command to disable/enable chat/things in game?, like /enable phone/chat..?
Posts: 354
Threads: 35
Joined: Feb 2010
Reputation:
0
There is so much more to this than just creating two simple commands to disable/enable certain commands.
In short, you will need to create a global variable for each command(unless you have some sophisticated command processor), then use those variables to create checks within your commands you wish to disable, returning 1 accordingly.
Posts: 77
Threads: 14
Joined: Jul 2016
Reputation:
0
I just need a /disbalecmd and /enablecmd for every cmd like
An admin disabled cmd "/ban".
If a players input that cmd he gets that msg, THis cmd is currently disabled
and same with enable, cmds work when an admin enables them
Regards,
Omer
Posts: 354
Threads: 35
Joined: Feb 2010
Reputation:
0
lmao far from shitty threshold, I didn't even think of doing it like that.. quite clever really.