Raised This Month: $ Target: $400
 0% 

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-25-2020 , 08:49   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #1

Like I said, such a method makes no sense to me, so I won't be adding it in the main plugin. You can use this sub-plugin to set a prefix according to the value set in the "vip" setinfo field.

Code:
#include <amxmodx> #include <chatmanager> public plugin_init() {     register_plugin("CM: Setinfo Prefix", "1.1", "OciXCrom") } public cm_on_player_data_updated(id) {     new szInfo[32]     get_user_info(id, "vip", szInfo, charsmax(szInfo))     cm_set_user_prefix(id, szInfo) }
__________________

Last edited by OciXCrom; 05-25-2020 at 08:50.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 05-25-2020 , 14:23   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #2

Quote:
Originally Posted by OciXCrom View Post
Like I said, such a method makes no sense to me, so I won't be adding it in the main plugin. You can use this sub-plugin to set a prefix according to the value set in the "vip" setinfo field.

Code:
#include <amxmodx> #include <chatmanager> public plugin_init() {     register_plugin("CM: Setinfo Prefix", "1.1", "OciXCrom") } public cm_on_player_data_updated(id) {     new szInfo[32]     get_user_info(id, "vip", szInfo, charsmax(szInfo))     cm_set_user_prefix(id, szInfo) }
I'm sorry, I did't understand this at all. Can you eplain it in simple way to me?
supertrio17 is offline
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 10:27.


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