samuel157
/root
- Joined
- Mar 19, 2010
- Messages
- 447
- Solutions
- 3
- Reaction score
- 49
- Location
- São Paulo, Brazil
- GitHub
- Samuel10M
Talkactions
SAY TEXT OF TILE WHITE
Lua:
function onSay(cid, words, param, channel)
local thisball = getPlayerSlotItem(cid, 8)
if param ~= "" then
return false
end
if words == "!onlinebonus" then
local loginmsg = "\n Online Bonus Informações: Tokens ganhos hoje: [?] Próximo recebimento em: 1 em 1 Hora Situação: Recebendo até."
doCreatureSay(getCreatureByName(getCreatureName(cid)), loginmsg, TALKTYPE_ORANGE_2, false, cid)
end
return true
end
SAY TEXT OF TILE WHITE
Lua:
local config = {
positions = {
["LEIA"] = { x = 154, y = 47, z = 7 }, -- Posição no mapa, onde o o Texto vai sair
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendAnimatedText(pos, text, math.random(215))
end
return TRUE
end
Last edited: