• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

How to enable outfits

8674011

New Member
Joined
Jun 21, 2010
Messages
160
Reaction score
3
Location
The House
I understand how to add the outfits to the xml and everything it's just how do i make it so you can use those outfits later on or enable them if you will, by doing something say like a quest?

Oh and here is the code i'm using so far :

doPlayerAddOutfit(cid, 136 , 0)

but I'm guessing this is only for addons and not the actual looktype, so how would i go about this?

Is there another vairable I could add to the outfits.xml that would allow this?

<outfit type="0" looktype="136" enabled="0" name="Citizen" premium="0"/>
 
Last edited:
outfits.xml:
Code:
<outfit type="0" looktype="136" enabled="1" name="Citizen" premium="0" />

function:
Code:
doPlayerAddOutfit(cid, 136 , 1)
 
outfits.xml:
Code:
<outfit type="0" looktype="136" enabled="1" name="Citizen" premium="0" />

function:
Code:
doPlayerAddOutfit(cid, 136 , 1)

here is what i got
Code:
if getPlayerSex(cid) == 0 then
        setPlayerStorageValue(cid, 4001, 1)
        doPlayerAddOutfit(cid, 141 , 1)
        doPlayerAddOutfit(cid, 136 , 1)
        doPlayerAddOutfit(cid, 137 , 1)
        doPlayerAddOutfit(cid, 138 , 1)
        doPlayerAddOutfit(cid, 139 , 1)
        else
        doPlayerAddOutfit(cid, 145 , 1)
        doPlayerAddOutfit(cid, 128 , 1)
        doPlayerAddOutfit(cid, 129 , 1)
        doPlayerAddOutfit(cid, 130 , 1)
        doPlayerAddOutfit(cid, 131 , 1)
    end

and the only way to make them pop up is if i enable them (the function gives no errors, but no results.), but if i enable that the person can use the outfit at the start of the game. so.
 
Back
Top