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

Lua -=[TFS]=- v0.4 v8.60 Need talktype say green and no orange and second script LEIA ON WHITE

samuel157

/root
Joined
Mar 19, 2010
Messages
447
Solutions
3
Reaction score
49
Location
São Paulo, Brazil
GitHub
Samuel10M
Talkactions
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:
Back
Top