• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Custom Channels, having different *COLOR* text

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,764
Solutions
1
Reaction score
226
Location
Chile, Santiago
Custom Channels, having different *COLOR* text

It this possible?

I have tried all SpeakClasses found at const.h but can't make them all work.

Someone knows?

Thanks ;)
 
tfs 1.2 ->

Code:
TALKTYPE_CHANNEL_Y = 7,
TALKTYPE_CHANNEL_O = 8,
TALKTYPE_CHANNEL_R1 = 14, //red - #c text

example usage:
Code:
-- example channel
function onSpeak(player, type, message)
    return TALKTYPE_CHANNEL_O -- "orange text" for everyone in the channel.
end
 
Just work orange, yellow and red.

Other colors are not working.

Others speakClass bug client.

That is what I ment on first post.

Sry if miss understood.
 
So could this help to send the message in different colors, for example: white, green, blue...
yes but you're limited to client exceptions, which means you will end up with nothing different that already are in MessageClasses in same file.
 

Similar threads

Back
Top