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

animated text

Denyy

PL RoX
Joined
Sep 4, 2009
Messages
82
Reaction score
0
Hi,

I need few scripts :P

First one is that if for example i will say "LOL" an animated text like this script which shows thext effect and the text change colours on diffrent things.

Second one when i say "ok" animation will be happen like comands /z or /x and id of effect if you help me i repp :P

Thanks alot and sory for my language ;p
 
LUA:
--[[
@by Shynzo
]]--

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 math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then
doSendAnimatedText(playerpos, "LoL!", colors[random])  
return 0
end
return 1
end
 
Back
Top