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

Lua Get outfit by quest

luigilc

Lua Learner
Joined
Mar 24, 2010
Messages
863
Reaction score
37
Location
A music box
How do I make it so when you finish a quest you get an outfit? My ot has custom outfits and I really need this script, I tested a few ones I found on forum but it doesn't work. Can anyone help me? Tyvm
 
I did like this for Yalaharian outfit quest.

Code:
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 324, 2)
			doPlayerAddOutfit(cid, 324, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 325, 2)
			doPlayerAddOutfit(cid, 325, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end  
           else
 
I did like this for Yalaharian outfit quest.

Code:
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 324, 2)
			doPlayerAddOutfit(cid, 324, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 325, 2)
			doPlayerAddOutfit(cid, 325, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end  
           else

Weakliest tabbing!
 
Back
Top