how to add new outfit in tfs 1.3
im use this script and not give me outfit.
im use this script and not give me outfit.
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if player:getStorageValue(8578885) == 1 then
player:sendTextMessage(MESSAGE_INFO_DESCR, 'You already have this outfit.')
else
player:setStorageValue(8578885, 1)
player:sendTextMessage(MESSAGE_INFO_DESCR, 'Congratulations, You have new outfit.')
player:addOutfit(302)
end
end