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

outfits on level gain tfs 0.4

Yaboihunna

New Member
Joined
Mar 27, 2019
Messages
136
Reaction score
3
requesting script like level 30 get citizen outfit full
level 60 hunter addon
90 mage addon etc please and thank you :p
 
use onAdvance
function onAdvance(cid, skill, oldlevel, newlevel)
if skill == SKILL__LEVEL then
bbllablablaballbablablablablablbla
end
return true
end

if u need if advanced in ml use if skill == SKILL__MAGLEVEL

for add outfit use
doPlayerAddOutfitId(cid, 6, 3)
6 number of outfit u can change for any outfit u want
6 is Summoner
4 is Knight
i hope you understand me
 
Last edited:
Você pode me ajudar com o meu servidor de ajuda? Adicione também uma barra de energia ali em baixo fixa
Detalhes
938048590-conta-grandline-adventures-r-1310-00-investidos-K6A7.jpg
 
Should be close.

Code:
local outfits = {
    [60] = {storage = 30000, maleID = 1, femaleID = 2, name = "Citizen"}
}

function onAdvance(cid, skill, oldlevel, newlevel)
    if skill == SKILL_LEVEL then
        local OUTFIT = outfits[skill]
        
        if not OUTFIT then return true end
        
        if getPlayerStorageValue(cid, OUTFIT.storage) ~= 1 then
            if getPlayerSex(cid) == 0 then
                doPlayerAddOutfit(cid, OUTFIT.femaleID)
                doPlayerAddOutfitAddon(cid, OUTFIT.femaleID, 1)
                doPlayerAddOutfitAddon(cid, OUTFIT.femaleID, 2)
            else
                doPlayerAddOutfit(cid, OUTFIT.maleID)
                doPlayerAddOutfitAddon(cid, OUTFIT.maleID, 1)
                doPlayerAddOutfitAddon(cid, OUTFIT.maleID, 2)
            end
        setPlayerStorageValue(cid, OUTFIT.storage, 1)
        end
    end
return true
end
 
Back
Top