• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Panda doll -I guess this could be for bogart? :P-

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.
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:
Better
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	doRemoveItem(cid, item.uid, 1)
	doSetCreatureOutfit(cid, {lookType = 123}, -1)
	doCreatureSay(cid, "I\'m now a panda :D", 3)
	doPlayerSendTextMessage(cid, 22, "You are now a Panda!")
	doSendMagicEffect(getPlayerPosition(cid),24)
	return true
end
 
Back
Top