HeberPcL
[PowerOT.com.br]
Code:
function Creature:onChangeOutfit(outfit)
local old = self:getOutfit()
if ( (old.lookHead ~= outfit.lookHead) or (old.lookBody ~= outfit.lookBody) or (old.lookLegs ~= outfit.lookLegs) or (old.lookFeet ~= outfit.lookFeet) ) then
self:sendCancelMessage("You cannot change your outfit color.")
return FALSE
end
return true
end
Last edited: