Raised This Month: $ Target: $400
 0% 

Prevent a player to use a specific command?


Post New Thread Reply   
 
Thread Tools Display Modes
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 08-04-2015 , 21:16   Re: Prevent a player to use a specific command?
Reply With Quote #11

You mean like "sm_commandban <name|userid> <command string> [duration]"?

Is there a way to hook to every command a client enters in the console that gets relayed to the server? Like an AddCommandListener to every sm_ command. I think KAC does this but I can't find it.

Last edited by Potato Uno; 08-04-2015 at 21:19.
Potato Uno is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-05-2015 , 05:08   Re: Prevent a player to use a specific command?
Reply With Quote #12

Quote:
Originally Posted by Potato Uno View Post
You mean like "sm_commandban <name|userid> <command string> [duration]"?

Is there a way to hook to every command a client enters in the console that gets relayed to the server? Like an AddCommandListener to every sm_ command. I think KAC does this but I can't find it.
I'm already working on it. Except, I didn't made a system to auto-detec when a user typed a certain command in a predefined time.
__________________
Want to check my plugins ?
Arkarr is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 08-05-2015 , 07:26   Re: Prevent a player to use a specific command?
Reply With Quote #13

Quote:
Originally Posted by ddhoward View Post
I think he's looking for something more akin to sm_ban or sm_mute; that is, a way for admins to manually been players from using given commands.
Quote:
Originally Posted by Potato Uno View Post
You mean like "sm_commandban <name|userid> <command string> [duration]"?
Yes, this is exactly what I want. This would make things a lot easier so I don't have to deal with a bunch of admin overrides and flags.
__________________

Last edited by Wormy; 08-05-2015 at 07:27.
Wormy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode