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

Monsters Doll

a7aa7a

Member
Joined
Jul 5, 2011
Messages
316
Reaction score
13
hello guys i want to make doll when the player click on it change to all monsetrs addons
 
http://otland.net/threads/change-outfit-by-item.18241/
You can use doSetCreatureOutfit for outfit ids instead of monster names.
Code:
local t = {10, 12, 13, 28, 82, 276} -- lookType ids
local outfit = getCreatureOutfit(cid)
outfit.lookType = t[math.random(1, #t)]
doSetCreatureOutfit(cid, outfit, 20 * 1000)

Or without time you can use doCreatureChangeOutfit
Code:
doCreatureChangeOutfit(cid, outfit)
 
Back
Top