Thread
:
Writing Sane Plugins
View Single Post
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
01-03-2013 , 11:56 Re: How To Get Approved
#
4
Rather than registering (RegConsoleCommand, RegAdminCommand) commands like "say !mycommand" and "say_team !mycommand", simply register "sm_mycommand". This will automatically register commands like sm_mycommand, "say !mycommand", "say_team !mycommand", "say /mycommand" and "say_team /mycommand".
If you're looking to process what is said in the text (i.e. if a user says bad words), you should be using "AddCommandListener".
__________________
My plugins
:
Red Maze
Afk Bomb
RAWR
(per player/rounds Awp Restrict.)
Kill Assist
Be Medic
You can also
Donate
if you appreciate my work
RedSword
View Public Profile
Send a private message to RedSword
Find More Posts by RedSword