9380023
New Member
- Joined
- Apr 19, 2010
- Messages
- 37
- Reaction score
- 0
PHP:
<globalevent name="Tp" interval="1" script="effects.lua"/>
go and create lua.file call it effects
PHP:
local config = {
positions = {
["We"] = { x = 998, y = 998, z = 7 },
["LovE"] = { x = 999, y = 998, z = 7 },
["KinG"] = { x = 1000, y = 998, z = 7 },
["DixoN"] = { x = 1001, y = 998, z = 7 },
},
effects = {
35
},
colors = {
TEXTCOLOR_RED
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, config.effects[math.random(1, #config.effects)])
doSendAnimatedText(pos, text, config.colors[math.random(1, #config.colors)])
end
return TRUE
end
to change the effect change this number
effects = {
35
to change the colour of words go here
colors = {
TEXTCOLOR_RED
like if its differnt for u
here's a picture
ImageShack� - Online Photo and Video Hosting
Comment if u like
Last edited: