• 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!

Colour Effects -> I give rep++!!

Sir Shutter

Learning LUA
Joined
Nov 17, 2008
Messages
1,437
Reaction score
10
Location
Egypt
hey guys i want like some colour effects on saying !buy aol

like when i use a life fluid it says "Aaaah.."

i want the same, can some1 tell me the codes for the colour effects

just tell me the codes with what colour it does

coz i want like someone say !buy aol

then it hits him with explotion i did that..

but i want it send text message ~Aol~

or like some1 do blessings "!bless" it hits him with something i dont that already

and i want it say like ~Blessings~ in another colour just tell me

each codes with colour il give rep++

really i need that!!

thanks :)
 
Here is some color effects
PHP:
TEXTCOLOR_BLUE = 5
TEXTCOLOR_GREEN = 18
TEXTCOLOR_TEAL = 35
TEXTCOLOR_LIGHTGREEN = 66
TEXTCOLOR_DARKBROWN = 78
TEXTCOLOR_LIGHTBLUE = 89
TEXTCOLOR_DARKPURPLE = 112
TEXTCOLOR_BROWN = 120
TEXTCOLOR_GREY = 129
TEXTCOLOR_DARKRED = 144
TEXTCOLOR_DARKPINK = 152
TEXTCOLOR_PURPLE = 154
TEXTCOLOR_DARKORANGE = 156
TEXTCOLOR_RED = 180
TEXTCOLOR_PINK = 190
TEXTCOLOR_ORANGE = 192
TEXTCOLOR_DARKYELLOW = 205
TEXTCOLOR_YELLOW = 210
TEXTCOLOR_WHITE = 215
TEXTCOLOR_NONE = 255

If you want with animated
PHP:
doSendAnimatedText(getCreaturePosition(cid), "~Bless~", effect)
if you want to to do many colors, 1 each time like example 1 time red, 1 time green or something..
PHP:
doSendAnimatedText(getCreaturePosition(cid), "~Bless~", math.random (1, 255))

otherwise, like realtibia Aaaah = doCreatureSay(cid, "text", 18) -- or TALKTYPE_ORANGE_1

repp++:)

OPS! with function AnimatedText you can only use 9 letters! also only 9 will be shown even if you write more.
 
Back
Top