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

[INC] CromChat - a better ColorChat!


Post New Thread Reply   
 
Thread Tools Display Modes
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 04-15-2021 , 11:05   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #71

Quote:
Originally Posted by Napoleon_be View Post
How's g_szPrefix[] declared? and what's the string that g_szPrefix[PREFIX_CHAT] is holding?
https://github.com/ShadowsAdi/MostVa...er.sma#L88-L93

https://github.com/ShadowsAdi/MostVa...layer.sma#L147

https://github.com/ShadowsAdi/MostVa....sma#L289-L291
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-17-2021 , 10:03   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #72

Quote:
CHAT_PREFIX = ^1[^4MVP^1]
Quote:
Bear in mind that the codes from the group STANDARD cannot be used lang, .ini and other files.
You can't just read the ^ symbol from an .ini file like that. Use &x0 colors.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 11-19-2021 , 12:38   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #73

This function does not create color
HTML Code:
CC_SendMatched
CC_SendMatched(id, CC_COLOR_TEAM, "message")
What is my mistake?
__________________

Last edited by amirwolf; 11-19-2021 at 12:48.
amirwolf is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-19-2021 , 15:52   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #74

You didn't insert a color. All messages start with the default color.

PHP Code:
CC_SendMatched(idCC_COLOR_TEAM"&x03message"
OciXCrom is offline
Send a message via Skype™ to OciXCrom
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 11-19-2021 , 17:01   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #75

Quote:
Originally Posted by OciXCrom View Post
You didn't insert a color. All messages start with the default color.

PHP Code:
CC_SendMatched(idCC_COLOR_TEAM"&x03message"
So it has a different function from ColorChat
__________________
amirwolf is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-19-2021 , 20:37   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #76

Quote:
Originally Posted by amirwolf View Post
So it has a different function from ColorChat
You could just use ColorChat if u have the cromchat include. Does the same trick.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-20-2021 , 07:57   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #77

Quote:
Originally Posted by amirwolf View Post
So it has a different function from ColorChat
CC_SendMatched matches the &x03 color to be the same as the player/color set in the second argument.

ColorChat does not have a matching function which results in seeing the wrong colors.

Last edited by OciXCrom; 11-20-2021 at 07:57.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 01-08-2022 , 18:15   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #78

@OciXCrom have you ever had any issues with SetPrefix? Sometimes it displays messages without prefix. Never had this problem before.
bigdaddy424 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-09-2022 , 08:30   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #79

Never. Can I see your code?
The only reason for that would be if the message starts with the "no prefix" symbol.
__________________

Last edited by OciXCrom; 01-09-2022 at 08:30.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 01-09-2022 , 14:39   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #80

This was giving me issues https://github.com/Garey27/CS_Patches
The plugin was fine
bigdaddy424 is offline
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 18:00.


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