Raised This Month: $ Target: $400
 0% 

Chat Manager [Admin Prefix & Color Chat]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
youngmulti
Junior Member
Join Date: Mar 2018
Old 12-24-2022 , 09:54   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #36

Hi!

I have your rank plugin installed and it works great but I have a problem with Chat Manager. I think I set everything up right, compiled the plugin, added the $rank$ formats in .sma but when I try to write something in chat, the message doesn't display.

In my console I noticed this message:
Code:
L 12/24/2022 - 15:38:41: Line 136: Format definition "format_player" doesn't exist.
L 12/24/2022 - 15:38:41: Line 137: Format definition "format_admin" doesn't exist.
I checked it and in this field I have it entered like this:
Code:
[Say/Say_Team Formats]
# Here you can specify the chat style for every user or flag.
# Syntax: "type" "info" "say format" "say_team format" "[expiration date]"

"flag" "z" "format_player" "format_player_team"
"flag" "l" "format_admin" "format_admin_team"
I based this field on:
Code:
[Format Definitions]
# In this section you can define chat formats that you can assign to different users in the [User Formats] section.
# You should create a different format for the say and say_team chat, if you don't wan't them to look the same.
# You can use the following placeholders: $admin_prefix$, $dead_prefix$, $team$, $name$, $custom_name$, $ip$, $steam$, $userid$, $chat_color$, $message$, $time$
# You can also use these, but they need to be enabled in the .sma file first: $health$, $armor$, $frags$, $deaths$, $city$, $country$, $country_code$, $continent$, $continent_code$
# Using OciXCrom's Rank System gives you access to even more placeholders: $rank$, $current_xp$, $next_xp$, $level$, $next_level$, $next_rank$. Only the first one is enabled by default.
# To enable an additional placeholder, simply locate the #define ARG_ line in the beginning of the .sma file and uncomment it (remove //), then recompile the plugin.
# Syntax: format name = format style

format_admin = $dead_prefix$ &x04[$rank$] $admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$
format_admin_team = $dead_prefix$ ($team$) &x04[$rank$] $admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$
format_player = $dead_prefix$ &x04[$rank$] &x03$custom_name$ &x01: $chat_color$$message$
format_player_team = $dead_prefix$ ($team$) &x04[$rank$] &x03$custom_name$ &x01: $chat_color$$message$
What did I do wrong? I also turned off every plugin but it had no effect. When I disable the chat manager, the messages show up normally. In the console after typing amx_plugins, I get a message that the plugin is working.
youngmulti is offline
 


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 10:01.


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