General > Developers Corner
Don't Show Commands
Zmaster:
(Added the code to my slay command above)
Also, just noted something weird
Decicus:
--- Quote from: Zmaster on June 20, 2014, 03:52:13 PM ---(Added the code to my slay command above)
Also, just noted something weird
--- End quote ---
Remove this line from your code, as you never use the PlayerArg anyways:
--- Code: ---undercover:addParam{ type=ULib.cmds.PlayerArg }
--- End code ---
Zmaster:
Alright. Did that, now it shows the command being typed in chat in both cases
Decicus:
You don't need to use your playername and just "!uc" btw.
I don't know why it's not running silently. The 5th "true" parameter should make it not show up in chat, and I honestly have no clue why it still does.
Zmaster:
This is odd
If you read through everything before this post, the "!uc" command would always show in the chat, even though it was being told not to.
However, I recently tested the command to see if it was still working (because a few other things broke after the recent GMod update), and not only did the command work, but it didn't show up in chat.
Thanks to the people who tried to help me with this earlier. :P
Navigation
[0] Message Index
[*] Previous page
Go to full version