Raised This Month: $87 Target: $400
 21% 

[INC] CromChat


Post New Thread Reply   
 
Thread Tools Display Modes
shehzad1234
Senior Member
Join Date: Jan 2016
Old 03-17-2017 , 11:29   Re: [INC] CromChat
Reply With Quote #11

Quote:
Originally Posted by OciXCrom View Post
@shehzad1234 - I think you should read all previous comments before suggesting it.

I updated the file in the first post and I think it's ready now. I changed the color symbols from !g to &x04. I don't want to use ^x04 style because this one can't be used inside ML/cfg/ini files. So I think the current one is the best solution.

&x07 = red
&x06 = blue
&x05 = white
&x04 = green
&x03 = team color
&x01 = normal


I also improved one more thing that bugged me - when I want to send a chat message and log it at the same time, I had to replace all color symbols in order to do it. So, I added CC_LogMessage, which will simultaneously send a chat message and log it.
oh i m verry sorry @OciXCrom
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.211.217.188:27015
shehzad1234 is offline
shehzad1234
Senior Member
Join Date: Jan 2016
Old 03-17-2017 , 11:31   Re: [INC] CromChat
Reply With Quote #12

@OciXCrom can u replace

&x06 with ^6 only its easy
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.211.217.188:27015
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-17-2017 , 20:54   Re: [INC] CromChat
Reply With Quote #13

It's not easy at all and if you read the comments (again), you will see why.
__________________

OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
Senior Member
Join Date: Jan 2016
Old 03-18-2017 , 06:33   Re: [INC] CromChat
Reply With Quote #14

ok bro
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.211.217.188:27015
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-18-2017 , 12:36   Re: [INC] CromChat
Reply With Quote #15

I added CC_RemoveColors function whicih will remove all chat and (or) menu colors from a message.
I also added a way to send a message without the prefix. Simply add &x00 in the beginning.
__________________

OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
Senior Member
Join Date: Jan 2016
Old 03-18-2017 , 15:11   Re: [INC] CromChat
Reply With Quote #16

hmm bro
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.211.217.188:27015
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-26-2017 , 18:52   Re: [INC] CromChat
Reply With Quote #17

Added CC_SendMatched(id, iPlayer, szMessage[], any:...)
With this you can send a message that matches iPlayer's team color or use one of thee color arguments instead of a player id - CC_COLOR_[RED|BLUE|GREY|DEFAULT]. If a different color code is found in the message itself, it will switch to that color.
__________________

OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-16-2017 , 14:49   Re: [INC] CromChat
Reply With Quote #18


  • Added different combinations of color codes that can be activated with adding a single line of code in the .sma file. You can use codes like &x04, !g, {green}, {g}, ^4, or even create your custom ones. Read the first post for more information.
__________________

OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 20:49.


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