Rugged Mage
Lua Scripter
- Joined
- Mar 8, 2010
- Messages
- 1,182
- Solutions
- 2
- Reaction score
- 76
This is a script that someone asked me to make, so I just decided to post it here since I have been posting a few other scripts on otland.
This is an outfit changer that changes you into a panda.
LUA:
local outfit =
{
lookType = 123,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 5791 then
doPlayerRemoveItem(cid, 5791, 1)
doSetCreatureOutfit(cid, outfit, -1) -- or if you want it to last forever till they change outfit use > doCreatureChangeOutfit(cid, outfit)
doCreatureSay(cid, "I\'m now a panda :D", 3)
doPlayerSendTextMessage(cid, 22, "You are now a Panda!")
doSendMagicEffect(getPlayerPosition(cid),24)
end
return true
end
This is an outfit changer that changes you into a panda.
Last edited: