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

Get all admins commands? as amx_help command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
omer
Senior Member
Join Date: Nov 2011
Old 09-08-2012 , 14:29   Get all admins commands? as amx_help command
Reply With Quote #1

Hello Again,
How can I get all admins commands means I don't want to write again and again
PHP Code:
register_clcmd("amx_leave""blocked"); 
When we write amx_help it shows all commands.. so I want to block all commands in one register_clcmd.
__________________

omer is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-08-2012 , 14:46   Re: Get all admins commands? as amx_help command
Reply With Quote #2

What do you want to do exactly ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
omer
Senior Member
Join Date: Nov 2011
Old 09-08-2012 , 15:32   Re: Get all admins commands? as amx_help command
Reply With Quote #3

I want to block all admins command like this:
PHP Code:
register_clcmd("amx_votemap""dksblocked"); 
but I don't want to collect all commands manually I want commands to be collected automatically like in amx_help all commands come automatically in amx_help...
__________________


Last edited by omer; 09-08-2012 at 15:33.
omer is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 09-08-2012 , 15:38   Re: Get all admins commands? as amx_help command
Reply With Quote #4

You could look at the amx_help command or you could look at my Smart Slash plugin.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
omer
Senior Member
Join Date: Nov 2011
Old 09-08-2012 , 15:43   Re: Get all admins commands? as amx_help command
Reply With Quote #5

Quote:
Originally Posted by Emp` View Post
You could look at the amx_help command or you could look at my Smart Slash plugin.

Smart Slash is'nt usefull to me...
I have looked in amx_help but how can I use that in blocking all commands...?
__________________


Last edited by omer; 09-08-2012 at 15:44.
omer is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-08-2012 , 16:09   Re: Get all admins commands? as amx_help command
Reply With Quote #6

Why do you want to block commands ?
Just disable plugins...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
omer
Senior Member
Join Date: Nov 2011
Old 09-08-2012 , 16:17   Re: Get all admins commands? as amx_help command
Reply With Quote #7

OK I have collected all commands manually Thanks for you time
__________________

omer is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-08-2012 , 16:19   Re: Get all admins commands? as amx_help command
Reply With Quote #8

Dynamic way is easy to code, but as you haven't tell what you want to do it's hard to do something.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-08-2012 , 17:20   Re: Get all admins commands? as amx_help command
Reply With Quote #9

Quote:
Originally Posted by omer View Post
OK I have collected all commands manually Thanks for you time
If you can't learn from code that already does what you want then I suggest that you seriously consider stop trying to write plugins.
__________________
fysiks is offline
omer
Senior Member
Join Date: Nov 2011
Old 09-09-2012 , 01:01   Re: Get all admins commands? as amx_help command
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
If you can't learn from code that already does what you want then I suggest that you seriously consider stop trying to write plugins.
fysiks I saw that code and I made the plugin Its working
__________________

omer 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 08:36.


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