Admin Prefixes V4.0 by m0skVi4a ;]
8 Attachment(s)
Plugin Name: Admin Prefixes
Plugin Author: m0skVi4a ;] Plugin Version: 4.0 Modification: Counter - Strike Category: Fun Stuff Description: With this plugin you can set prefixes to Admins with special flags. Also Admins can put custom prefixes to them or to other players if they want, but only if they have the required flag. Pictures: http://i48.tinypic.com/a3o66u.png Commands: Commands: say /prefix Toggles Prefix ON or OFF. say_team /prefix Toggles Prefix ON or OFF. ap_reload_prefixes Reloads Prefixes' file from console without restarting the server. ap_reload_badprefixes Reloads Bad Prefixes' file from console without restarting the server. ap_put "type (f, i, s, n)" "key(Flag, IP, SteamID, name)" "Prefix" Puts prefix to the key you type if you have the special flag. Or if there is no prefix typed, removes the prefix which the player has. CVARS: Code:
"ap_bad_prefixes" - Is the Bad Prefixes option on(1) or off(0). Default: 1 Credits: m0skVi4a ;] - for the idea, making and testing the plugin SpeeDeeR - for little help with the plugin Ant1Lamer - for testing the plugin Vasilii-Zaicev - for testing the plugin Changelog: Code:
April 22, 2012 - V1.0: Moduls: PHP Code:
Libraries: PHP Code:
Installation 1. Compile the plugin 2. .amxx file goes to plugins dir 3. admin_prefixes.txt goes to data/lang dir 4. ap_prefixes.ini and ap_bad_prefixes.ini go to configs dir and customize them. 5. Add the name of the .amxx file in plugins.ini and start your server How to set up ap_prefixes.ini - When adding new prefix, you should conform that you must set the type of the prefix. There are 4 types: type Flag, type IP, type SteamID and type Name, each begins with the character "f", "i", "s" и "n" accordingly. Here are some examples: "f" "n" "[PREFIX FLAG]" - this way person with Flag n will have prefix [PREFIX FLAG] "i" "192.168.1.100" "[PREFIX IP]" - this way person with IP 192.168.1.100 will have prefix [PREFIX IP] "s" "STEAM_0:1:52985922" "[PREFIX STEAMID]" - this way person with Name m0skVi4a ;] will have prefix [PREFIX NAME] "n" "m0skVi4a ;]" "[PREFIX NAME]" - this way person with Name m0skVi4a ;] will have prefix [PREFIX NAME] - If you want to edit who can use the reload command for the plugin's file, open the .sma file and find PHP Code:
- If you want to edit how many prefixes can be loaded, open the .sma file and find PHP Code:
- If you want the prefix to be coloured, use !g for green, !t for team and !n for noramal colour (It DOES NOT works and with the commands ap_put and ap_put_player) How to set up ap_bad_prefixes.ini - If you want to add new Bad Prefix, just write each prefix on new line. Here is an example: "[OWNER]" "[BOSS]" "[PROSTAK]" "[IDIOT]" - that way people who can set Custom Prefixes, can not set these. - If you want to edit who can use the reload command for the plugin's file, open the .sma file and find PHP Code:
- If you want to edit how many prefixes can be loaded, open the .sma file and find PHP Code:
This plugin is tested by me, m0skVi4a ;] , on AMX MOD X 1.8.2 and it works properly!!! |
Re: Admin Prefixes V1.0 by m0skVi4a ;]
nice plugin i well try it
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
Isn't this already made?
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
gj
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
Quote:
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
I installed but, it gave bad_load error ? Help pls
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
Quote:
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
Thanks, I solved the problem. cstrike module was missing. I installed the module and it worked.
|
Re: Admin Prefixes V1.0 by m0skVi4a ;]
#if defined USE_SQL
#include <sqlx> #endif Would be better! |
Re: Admin Prefixes V1.0 by m0skVi4a ;]
How about ML support?
|
All times are GMT -4. The time now is 09:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.