have the code!! so in which map shuld i put this?
Code:
local config = {
positions = {
["Text to show"] = { x = 1000, y = 1000, z = 7 },
["Text to show"] = { x = 1000, y = 1000, z = 7 },
["Text to show"] = { x = 1000, y = 1000, z = 7 },
["Text to show"] = { x = 1000, y = 1000, z = 7 },
["Text to show"] = { x = 1000, y = 1000, z = 7 },
["Text to show"] = { x = 1000, y = 1000, z = 7 },
},
effects = {
CONST_ME_MAGIC_BLUE,
CONST_ME_MAGIC_GREEN,
},
colors = {
TEXTCOLOR_WHITE,
TEXTCOLOR_ORANGE,
TEXTCOLOR_GREEN,
TEXTCOLOR_BLUE
}
}
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