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.