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

[CSGO] changing the sm admin command colors in chat


Post New Thread Reply   
 
Thread Tools Display Modes
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 06-13-2014 , 02:22   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #11

Quote:
Originally Posted by Bacardi View Post
https://forums.alliedmods.net/showth...41#post2147841

Just //comment line where you get purple SM prefix
and uncomment line which gives red color
i had no idea that existed


thanks
__________________
PresidentEvil is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-13-2014 , 16:22   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #12

to change SM base plugin basechat chat colors.
Open ...scripting/basechat.sp and find every PrintToChat natives which message start "\x04"
PHP Code:
"\x04Something text is here" 
Add one space char front of it " \x04"
PHP Code:
" \x04Something text is here" 
Then you have some green colors.

Compile sp file and upload smx on your server.
Bacardi is offline
TomXPro
Senior Member
Join Date: Aug 2014
Location: Germany
Old 08-19-2014 , 09:17   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #13

Is there a possibility to change the prefix für all plugins using own [SM] prefixes?
I want to match all prefixes.
TomXPro is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 10-11-2016 , 22:24   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #14

Quote:
Originally Posted by Bacardi View Post
to change SM base plugin basechat chat colors.
Open ...scripting/basechat.sp and find every PrintToChat natives which message start "\x04"
PHP Code:
"\x04Something text is here" 
Add one space char front of it " \x04"
PHP Code:
" \x04Something text is here" 
Then you have some green colors.

Compile sp file and upload smx on your server.
How about red ?
__________________
nguyenbaodanh is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-12-2016 , 06:36   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #15

Can't remember and didn't find good example who someone post it somewhere.

Range was \x01 - \x09
Then hex values \x0a - \x0f
Quote:
Originally Posted by nguyenbaodanh View Post
How about red ?
__________________
Do not Private Message @me
Bacardi is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-12-2016 , 09:52   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #16

Quote:
Originally Posted by Bacardi View Post
Can't remember and didn't find good example who someone post it somewhere.

Range was \x01 - \x09
Then hex values \x0a - \x0f
Mitchell is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-12-2016 , 10:10   Re: [CSGO] changing the sm admin command colors in chat
Reply With Quote #17

Nice
__________________
Do not Private Message @me
Bacardi 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 03:38.


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