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

Use the function doPlayerAddOutfit(cid,looktype,addons) [ REPP U + ]

Discovery

Developing myself
Joined
Apr 16, 2010
Messages
562
Solutions
11
Reaction score
261
Location
Neverland
WIth use doPlayerAddOutfit(cid,looktype,addons) ?? In lua.

Ex, I need a chest that gives this addon

^_^
 
exemple
in one quest...!
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureChangeOutfit(cid, 1)
end

? :S example, i need quest of citizen full addon... ? plx help me i undestand
 
Try this:
Code:
  function onUse(cid, item, frompos, item2, topos)

         if item.uid == 1234 then
             if (getPlayerStorageValue(cid,1235) == -1) then
                doPlayerSendTextMessage(cid,21,"You now have the Outfit!")
                doPlayerAddOutfitId(cid,1,3) -- edit outfit id.
                setPlayerStorageValue(cid,1235,1)
                doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
        else
                doPlayerSendTextMessage(cid,25,"You Already have the Outfit.")
        end

    end
        return TRUE
end
 
Back
Top