ryonaa
New Member
- Joined
- Feb 28, 2010
- Messages
- 24
- Reaction score
- 0
Sup!
This script sends x text that you want into CoLoRe[D TeXt
\data\talkactions\scripts\animated.lua:
then add this
in talkactions.xml:
Credits: Me
A Image:
PEE!!!
Thx
This script sends x text that you want into CoLoRe[D TeXt
\data\talkactions\scripts\animated.lua:
PHP:
local colors =
{
TEXTCOLOR_BLUE,
TEXTCOLOR_LIGHTBLUE,
TEXTCOLOR_LIGHTGREEN,
TEXTCOLOR_TEAL,
TEXTCOLOR_PURPLE,
TEXTCOLOR_PLATINUMBLUE,
TEXTCOLOR_LIGHTGREY,
TEXTCOLOR_DARKRED,
TEXTCOLOR_RED,
TEXTCOLOR_ORANGE,
TEXTCOLOR_YELLOW,
TEXTCOLOR_WHITE_EXP
}
function onSay(cid, words, param)
local playerpos = getPlayerPosition(cid)
local random = math.random(1, #colors)
if(param == '') then
return true
end
doSendAnimatedText(playerpos, param, colors[random])
return true
end
then add this
in talkactions.xml:
PHP:
<talkaction words="!a" event="script" value="animated.lua"/>
PHP:
!a [TEXT]
Credits: Me
A Image:
PEE!!!
![peeu.jpg](/proxy.php?image=http%3A%2F%2Fimg13.imageshack.us%2Fimg13%2F1971%2Fpeeu.jpg&hash=d24c7ec726e182f7b0ba72a0536f1f93)
Thx
Last edited: