Raised This Month: $51 Target: $400
 12% 

Solved [L4D2]how can I stop a command appearing in sm_help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Morning
Member
Join Date: May 2021
Old 05-17-2023 , 11:04   [L4D2]how can I stop a command appearing in sm_help?
Reply With Quote #1

I'm just looking to prevent a command from appearing when a player uses sm_help. I want to keep the command available, but stop people finding it. I noticed the function takes flags, but can't find more info on it!
Code:
void RegConsoleCmd(const char[] cmd, ConCmd callback, const char[] description, int flags)

Last edited by Morning; 05-18-2023 at 12:13.
Morning is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-17-2023 , 12:30   Re: [L4D2]how can I stop a command appearing in sm_help?
Reply With Quote #2

comment sm_help

https://github.com/alliedmodders/sou...s/adminhelp.sp
__________________
Marttt is offline
Morning
Member
Join Date: May 2021
Old 05-18-2023 , 12:12   Re: [L4D2]how can I stop a command appearing in sm_help?
Reply With Quote #3

haha not exactly what I asked but works like a charm, thankyou.
Morning 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 04:58.


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