PHP:
function onUse(cid, item, frompos, itemEx, topos)
local outfit = {lookType = 278, lookHead = 38, lookBody = 114, lookLegs = 107, lookFeet = 114, lookTypeEx = 0, lookAddons = 0}
if item.itemid == 5912 then
doPlayerAddOutfit(cid, outfit)
doRemoveItem(5912, 1)
doPlayerSendTextMessage(cid, 22, "Otrzymales outfit!")
end
end
Script changes outfit 278, with colors 38-114-107-114 and removes object.
I NEED COLORS!