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

Block amxx commands access for player?..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Havoc
Member
Join Date: Jul 2004
Old 03-15-2008 , 14:26   Block amxx commands access for player?..
Reply With Quote #1

Hey guyz, Im kind a new in AMXX and I have no idea how to make this..
First of all, im using AMXX 1.7 , not newest CUZ newest s*x or for me, 80% of plugins just crashing up..
So here what I want. I just want to set access level for some commands, like
amx_plugins or amx_who , now players can see my game plugins etc. and I dont want them to use these commands!.. How should I change permissions for example only for admins with Kick command?
Thanks!
__________________
Havoc is offline
Send a message via ICQ to Havoc Send a message via MSN to Havoc
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-15-2008 , 14:30   Re: Block amxx commands access for player?..
Reply With Quote #2

alter the source code for the plugins. amx_plugins and amx_who are found in admincmd.sma I believe
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Havoc
Member
Join Date: Jul 2004
Old 03-15-2008 , 14:38   Re: Block amxx commands access for player?..
Reply With Quote #3

Yes, thanks, you are absolutely right, BUT how to change permission to admin kick?
Code:
	register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server")
	register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]")
	register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN)
THANSK!
__________________
Havoc is offline
Send a message via ICQ to Havoc Send a message via MSN to Havoc
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-15-2008 , 14:38   Re: Block amxx commands access for player?..
Reply With Quote #4

change ADMIN_ADMIN to ADMIN_KICK
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Havoc
Member
Join Date: Jul 2004
Old 03-15-2008 , 15:16   Re: Block amxx commands access for player?..
Reply With Quote #5

yes thank you! But now question offtopic:

Why always when im trying to run HLDS im getting message:
Unable to load authentication library, Exiting...
__________________
Havoc is offline
Send a message via ICQ to Havoc Send a message via MSN to Havoc
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 18:32.


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