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

Admin Permission(ported Kleenex)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 04-07-2005 , 17:53   Admin Permission(ported Kleenex)
Reply With Quote #1

Admin Permission

Author: KleeneX
Version: 0.1


============================================= ==
Important:
You must add this plugin in the top of the "plugins.ini", else it can't
block some commands.


============================================= ==
Description:
You have 2 files called "commands.ini" and "special_premission.ini".
In the "commands.ini" you add the commands which need a premission
by the "mainadmin".
In the "special_premission.ini" you can add the SteamID's of admins
which don't need a premission to use a command.

Than is there one CVAR called "amx_topadmin". Here you can register
the SteamID of one admin which automically gets the "mainadmin"
status when he's connecting.

============================================= ==
How does it work?
When someone use a command which is in the "commands.ini" and
he isn't the "mainadmin" or doesn't have the "special_premission".
Than will this plugin show at the "mainadmin" a menu like this:
Quote:
AMX Permission Menu:
KleeneX wants to use the command amx_ban:


1. Allow
2. Disallow

3. Show full command line
When you press 3 (Show full command line) it will show in the chat
something like that:
Quote:
amx_ban Noob 10
When you press 1 (Allow) it will send the full command to clients console
and allow him the command for 0.5 seconds. And send him a message
like that:
Quote:
The admin allow you to use the command amx_ban
When you press 2 (Disallow) than it only send this message like that
to his console:
Quote:
The admin didn't allow you to use the command amx_ban
============================================= ==
Changelog:
Version 0.2:
Fixed some bugs
Version 0.1:
First release
============================================= ==
Credits:
Xavior: Testing
Nightscream: porting to amxx

to download the .ini download them here
http://www.iwek.stylehosting.com/plu...permission.zip
__________________
- Bye bye!
nightscreem is offline
 



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 06:51.


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