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

CSGO BaseChat Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LionKing
Member
Join Date: Jan 2017
Location: Belgium
Old 12-23-2018 , 19:53   CSGO BaseChat Help
Reply With Quote #1

Hi all,

I'd like to change it so when an admin types in chat @<message>.
Then the output would appear as [{red}Admin]: {red}<message>.
I've done some googling and apparently I need to change some colours in my basechat.sp file, however I did that and still got the same.

Please help me,
greeting Lion.

Last edited by LionKing; 12-23-2018 at 19:53.
LionKing is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-24-2018 , 01:28   Re: CSGO BaseChat Help
Reply With Quote #2

...download SourceMod zip pack in your desktop and extract, not need server/SRCDS.
Go in scripting folder.
Open file basechat.sp

Go line 337 and edit
Code:
PrintToChat(i, "\x04(ALL) %s: \x01%s", nameBuf, message);
to this
PrintToChat(i, " \x02(ALL) %s: %s", nameBuf, message);
You need add space first before color hex

save file and hit compile.exe, look in compiled folder, you should have basechat.smx
__________________
Do not Private Message @me
Bacardi is offline
LionKing
Member
Join Date: Jan 2017
Location: Belgium
Old 12-24-2018 , 05:03   Re: CSGO BaseChat Help
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
...download SourceMod zip pack in your desktop and extract, not need server/SRCDS.
Go in scripting folder.
Open file basechat.sp

Go line 337 and edit
Code:
PrintToChat(i, "\x04(ALL) %s: \x01%s", nameBuf, message);
to this
PrintToChat(i, " \x02(ALL) %s: %s", nameBuf, message);
You need add space first before color hex

save file and hit compile.exe, look in compiled folder, you should have basechat.smx
Thanks a lot!

Last edited by LionKing; 12-24-2018 at 05:08.
LionKing 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 23:50.


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