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

Programmer Tibia color changer

Acrozo01

New Member
Joined
Oct 1, 2015
Messages
25
Reaction score
0
Hey guys , im wondering can someone make auto color changer ?
If someone can help msg me please or post in thread here

Thanks
 
If you mean color on the sprites it should be pretty easy to do it any simple photo editor program.
 
he wants a bot with rainbow outfit func
It is already written, @Evan wrote it
Rainbow Outfit
Some of you have requested the rainbow outfit, here it is. It was merely for display.

BDgDKxL.gif

Code:
function rainbowOutfit(cid, looktype, index)
    local colors = {94, 77, 79, 82, 87, 90}
    local creature = Creature(cid)
    if not creature then
        return
    end
    creature:setOutfit({
        lookType = looktype,
        lookHead = colors[((index) % 6) + 1],
        lookBody = colors[((index + 1) % 6) + 1],
        lookLegs = colors[((index + 2) % 6) + 1],
        lookFeet = colors[((index + 3) % 6) + 1]
    })
    if index > 6 then
        index = 0
    end
    addEvent(rainbowOutfit, 100, creature:getId(), looktype, index + 1)
end

A good way to stop the rainbow outfit is to set the eventid to the character as a storage value, then use that storage value to end it when necessary.
 
Back
Top