Raised This Month: $39 Target: $400

[INC] CromChat - a better ColorChat!

Post New Thread Reply   
Thread Tools Display Modes
Join Date: Oct 2016
Location: Ocidental Praia Lusitana
Old 11-30-2022 , 16:37   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #81

So i tried adding colors to admincmd.sma (AMX Mod X 1.10 - build 5465) with this include.
What i did:
added #include <cromchat> to admincmd.sma
compiled, replaced admincmd.amxx in server files
added to slap messsage in admincmd.txt: ADMIN &x04%s slapped ....
slapped myself
output in chat: ADMIN &x04myname slapped blahblahblah
It did not got colored, instead it showed the color code.
Can anyone help me?
silsfocs is offline
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 12-11-2022 , 18:56   Re: [INC] CromChat - a better ColorChat!
Reply With Quote #82

PHP Code:
#include <cromchat> 
ADMIN !gyourname !nslapped blablahblah
a simple act of caring creates an endless ripple.
Nutu_ is offline

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 17:14.

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