Raised This Month: $23 Target: $400
 5% 

Admin Prefixes V4.0 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-24-2012 , 11:20   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #11

@bazhenov93
@shadybg
I will think for thise suggestions
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
puRpl haZe
New Member
Join Date: Apr 2012
Old 04-26-2012 , 06:07   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #12

hey guys, i tried this plugin at my server, and it works awesome! plugin is great.
I just have one problem. Im not a good in this kind of programing, so i need some help.
I've set admin prefix on d flag, bcus only admins have it. So when admin say something it looks like this:
[Admin] puRpl' haZe!: Hello! - the trick is here, text of admin message is set to be green by default.
So i would like to change it, to be normal color, like default chat of players.
Please, can anyone tell me how to do this? So, once more, prefix [Admin] should still be green, but i want text to be normal color.
Thanks in advance!
puRpl haZe is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-26-2012 , 12:36   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #13

formatex(g_message, charsmax(g_message), "^4%s^3 %s :^4 %s", client_prefix[id], g_name, g_typed)
--->
formatex(g_message, charsmax(g_message), "^4%s^3 %s :^1 %s", client_prefix[id], g_name, g_typed)

Difference:
:^4 %s
->
:^1 %s

^4 - green
^3 - team
^1 - normal
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
GarbageBox
Senior Member
Join Date: Feb 2010
Old 04-26-2012 , 13:15   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #14

I think it would be better that if players can custom their own prefix.
__________________
You can be a SUPER coder but you Haven't to say such as "stupid, etc." words to the others
GarbageBox is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-26-2012 , 15:18   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #15

Quote:
Originally Posted by GarbageBox View Post
I think it would be better that if players can custom their own prefix.
They can
In admin_prefixes.ini
CUSTOM_CURRENT z
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
puRpl haZe
New Member
Join Date: Apr 2012
Old 04-26-2012 , 20:52   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #16

Thank you very much!
Ok here is one more problem.
On my server it is like this:
head admin - abcdefghijklmnopqrstux
adv admin - abcdefgijkmnopqrstu
admin - abcdeimnopqrstu
trial admin - bcdeiu
members - b
players - z
So, now i want to make like this:
[head admin] - for head admins
[adv admin] - for adv admins
[admin] - for admins and trial admins
[z-hq] - for members
But i have a conflict between flags. If i make b flag to be [z-hq], than all other admins have prefix [z-hq] bcus they have b flag. same problem for the rest of list. Can i solve this issue somehow?

Last edited by puRpl haZe; 04-26-2012 at 20:57.
puRpl haZe is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-27-2012 , 14:05   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #17

You don't have to put all of the flags..
Only one is needed
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
Nick Haldem
Senior Member
Join Date: Jun 2011
Location: Moldova
Old 04-27-2012 , 14:16   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #18

Great work.Will test it today!
Nick Haldem is offline
Send a message via Skype™ to Nick Haldem
NBRider88
New Member
Join Date: Jul 2007
Old 05-06-2012 , 18:25   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #19

I downloaded the plugin, however I do not see the .amxx file? Only sma & cfg What Am I doing wrong? :-/
NBRider88 is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 05-07-2012 , 13:00   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #20

Attaching .amxx files here is forbidden
Compile localy or here http://www.amxmodx.org/webcompiler.cgi

Last edited by m0skVi4a; 05-07-2012 at 13:01.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
Reply


Thread Tools
Display Modes

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 09:03.


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