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

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2022 , 16:38   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #221

Switch their places.

Quote:
If a player meets the requirements for more than one prefix/color/name, he will get the one that's highest in the list.
It's simple logic.
__________________

Last edited by OciXCrom; 05-24-2022 at 16:39.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 06-06-2022 , 18:59   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #222

How can I set a prefix using a flag from another plugin?
if the player has access to "zv_get_user_flags(id)" he will have the Prefix [VIP], for example.
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-09-2022 , 14:32   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #223

Code:
#include <amxmodx> #include <chatmanager> #include <zmvip> public plugin_init() {     register_plugin("CM: ZV Prefix", "1.0", "OciXCrom") } public cm_on_player_data_updated(id) {     if(zv_get_user_flags(id) & YOUR_FLAG_HERE)     {         cm_set_user_say_format(id, "format_admin", "format_admin_team") // or any other custom chat format that contains the $admin_prefix$ variable         cm_set_user_prefix(id, "[Your Prefix Here]")     } }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 06-09-2022 , 18:05   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #224

Thank you, I never expect less from OciXCrom sz
MeliMeli is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 06-16-2022 , 20:48   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #225

Is it possible that if someone has a flag of greater access for example immunity "a" in users.ini the tag [VIP] is not on top?

For example, I have "a" flag and the plugin will give me [VIP] tag if I have access to other flags. What happens is that even though I have the highest "a" flag, the plugin tag cuts my [Owner] tag and remains [VIP]
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-18-2022 , 17:27   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #226

Reorganize your tags in the .ini file. The ones higher in list have priority against ones below them.
The plugin will grant the player the first prefix that he meets the requirements for, starting from the top of the list.
In your case, Owner should be placed above VIP since it's a higher rank.
__________________

Last edited by OciXCrom; 06-18-2022 at 17:27.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Death Stroke
Junior Member
Join Date: Mar 2021
Location: Algeria.
Old 06-23-2022 , 10:34   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #227

Hi is there a way i can add level system to this plugin? (I'm Using ZP).
Death Stroke is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-23-2022 , 14:22   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #228

Quote:
Originally Posted by Death Stroke View Post
Hi is there a way i can add level system to this plugin? (I'm Using ZP).
The plugin is already connected with a level system - https://forums.alliedmods.net/showthread.php?t=308540
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Death Stroke
Junior Member
Join Date: Mar 2021
Location: Algeria.
Old 06-24-2022 , 15:30   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #229

Quote:
Originally Posted by OciXCrom View Post
The plugin is already connected with a level system - https://forums.alliedmods.net/showthread.php?t=308540
Your level system looks cool, but i prefer to use mine. How can i add it to the chat?

I would like to add it like this for example: [Level: 15][Head Admin]stroke: 'saying somethin...'

Wish line do i have to modifie for it to work?
Death Stroke is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-25-2022 , 07:14   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #230

Of course I need to see the plugin first.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 12:51.


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