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

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-29-2022 , 11:03   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #241

dutch translation

Code:
[nl] -- LadderGoat
CM_MENU_TITLE = \y[\rChat Beheer\y] \wGebruikersinstellingen
CM_MENU_PREFIX = Voorvoegsel
CM_MENU_CHAT_COLOR = Chat Kleur
CM_MENU_CUSTOM_NAME = Aangepaste Naam
CM_MENU_ENABLED = \y[AAN]
CM_MENU_DISABLED = \r[UIT]
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Qsai Wolf PS
Junior Member
Join Date: May 2021
Location: palstine
Old 09-14-2022 , 11:37   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #242

Hello OciXCrom
I want help with this plugin
I add 2ames and a flag
my code in ini

"name" "Qsai Wolf PS" "&x07{&x04M&x07a&x01n&x07g&x04e&x01r&x07} "

"flag" "abcdefghijklmnopqrystuyxv" "&x07{&x04O&x07w&x01n&x04e&x01r&x07}"

but if I type any things like
(owner) Qsai Wolf PS : hello
my name is always red
and have a flag abd...xv

Last edited by Qsai Wolf PS; 09-14-2022 at 11:37.
Qsai Wolf PS is offline
kltar0
New Member
Join Date: Oct 2014
Old 09-15-2022 , 01:42   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #243

Quote:
Originally Posted by Qsai Wolf PS View Post
Hello OciXCrom
my name is always red
# Combining two or more team colors is NOT POSSIBLE in CS 1.6: &x03, &x05, &x06, &x07 - only ONE of these can be used inside a message.

Because you set &x07 (red) you cannot use any other team color. That's why your name is always red.
To keep your name in your team color, use only white and green for prefix and name customization
kltar0 is offline
Old 09-16-2022, 16:09
Qsai Wolf PS
This message has been deleted by Qsai Wolf PS.
Qsai Wolf PS
Junior Member
Join Date: May 2021
Location: palstine
Old 09-16-2022 , 16:14   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #244

Quote:
Originally Posted by kltar0 View Post
# Combining two or more team colors is NOT POSSIBLE in CS 1.6: &x03, &x05, &x06, &x07 - only ONE of these can be used inside a message.

Because you set &x07 (red) you cannot use any other team color. That's why your name is always red.
To keep your name in your team color, use only white and green for prefix and name customization
Before
"name" "Qsai Wolf PS" "&x07[&x04M&x07a&x01n&x07g&x04e&x01r&x07]"
After
"name" "Qsai Wolf PS" "&x01[&x04M&x07a&x01n&x07g&x04e&x01r&x01]"

and this didn't solve
Qsai Wolf PS is offline
kltar0
New Member
Join Date: Oct 2014
Old 09-16-2022 , 16:32   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #245

Of course didn’t change. You still have &x07 in your code.

If you want your name appear in team color remove all &x07 from the code or replace them with &x01 or &x04
kltar0 is offline
Qsai Wolf PS
Junior Member
Join Date: May 2021
Location: palstine
Old 09-16-2022 , 16:56   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #246

Quote:
Originally Posted by kltar0 View Post
Of course didn’t change. You still have &x07 in your code.

If you want your name appear in team color remove all &x07 from the code or replace them with &x01 or &x04
oh it's bad
no more solves to use color team?
Qsai Wolf PS is offline
youngmulti
Junior Member
Join Date: Mar 2018
Old 12-24-2022 , 09:54   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #247

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
mrshark45
Member
Join Date: Jan 2016
Old 12-30-2022 , 16:33   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #248

Quote:
Originally Posted by sigerman View Post
I have a lot of hltv servers recording demos ( extension .dem ). But in neither of them the demos are showing what the players are chatting when I have chat manager plugin activated.

If I deactivate the plugin, then the chats appear again.
If anyone still needs it to work for hltv to record the chat as well, this is the fix:

On line 875 instead of :
Code:
get_players(iPlayers, iPnum, "ch")
Place :
Code:
get_players(iPlayers, iPnum, "c")
Or into the config file ( ChatManager.ini ) set ALL_CHAT TO 2
Code:
ALL_CHAT = 2
I haven't tested it, but it should work because of :
Code:
if(g_eSettings[ALL_CHAT] == ALLCHAT_SEE_TEAM || (g_ePlayerData[id][PDATA_GLOBAL_CHAT] && !(bTeam && !g_eSettings[GLOBAL_CHAT_TEAM])))
	{
		send_chat_message(0, id, szMessage, szSound)
	}
and ALLCHAT_SEE_TEAM is 2, from :
Code:
enum
{
	ALLCHAT_NONE = 0,
	ALLCHAT_NO_TEAM,
	ALLCHAT_SEE_TEAM
}
mrshark45 is offline
james 007
Member
Join Date: Dec 2014
Location: Portugal
Old 01-03-2023 , 12:31   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #249

new const g_szTag[][] = {
"", // Nao Remover
"[Fundador]",
"[Admin]",
"[Mod Geral]",
"[Mod]",
"[Configurador]",
"[Super Vip]",
"[Vip]",
"[Mini Vip]"
}

new const g_iTagFlag[sizeof(g_szTag)] = {
ADMIN_ALL, // Nao Remover
ADMIN_LEVEL_A,
ADMIN_LEVEL_B,
ADMIN_LEVEL_C,
ADMIN_LEVEL_D,
ADMIN_LEVEL_E,
ADMIN_LEVEL_F,
ADMIN_LEVEL_G,
ADMIN_LEVEL_H
}

add in your plugin plz
Attached Files
File Type: sma Get Plugin or Get Source (tagsManipulation.sma - 75 views - 10.9 KB)
__________________
james 007 is offline
Qsai Wolf PS
Junior Member
Join Date: May 2021
Location: palstine
Old 01-28-2023 , 15:12   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #250

I want to add color to my name like

https://i.imgur.com/UPJzvnA.png

I can do it !?

and I don't look for all reply because its a lot
Qsai Wolf PS 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 17:56.


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