1°
function onUse(cid, item, fromPosition, itemEx, toPosition)
return doPlayerSetSex(cid, getPlayerSex(cid) == 0 and 1 or 0)
end
2°
function onUse(cid, item, pos)
local out = {
{lookType = 254},
{lookType = 255},
{lookType = 256},
{lookType = 257},
{lookType = 258},
{lookType = 259},
{lookType = 260},
{lookType = 261},
{lookType = 262},
{lookType = 263},
{lookType = 264}
}
return doCreatureChangeOutfit(cid, out[math.random(#out)])
end