mikezeid
New Member
- Joined
- Jan 9, 2013
- Messages
- 60
- Reaction score
- 1
Hello. I entered this code
For the addon dolls to work for players .but says you need an addon doll .. what should i do ??
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local femaleOutfits = {136, 137, 138, 139, 140, 141, 142, 147, 148, 149, 150, 155, 156, 157, 158, 252, 269, 270, 279, 288, 324}
local maleOutfits = {128, 129, 130, 131, 132, 133, 134, 143, 144, 145, 146, 151, 152, 153, 154, 251, 268, 273, 278, 289, 325}
if(getPlayerItemCount(cid, 9693) > 0) then
doPlayerRemoveItem(cid, 9693, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You now have all addons!")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
if (getPlayerSex(cid) == 0) then
for _,n in ipairs(femaleOutfits) do
doPlayerAddOutfit(cid, n, 3)
end
else
for _,n in ipairs(maleOutfits) do
doPlayerAddOutfit(cid, n, 3)
end
end
else
return false
end
return true
end
For the addon dolls to work for players .but says you need an addon doll .. what should i do ??