Hello, i have got a little problem
When i have 100x experience item. All does removes when i try to use . I want that it just will use one att the time.
How can i fix it ? i got tfs 0.3.6
i use this script :
When i have 100x experience item. All does removes when i try to use . I want that it just will use one att the time.
How can i fix it ? i got tfs 0.3.6
i use this script :
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(doPlayerAddExperience(cid, 1000) == TRUE) then
doCreatureSay(cid, "You Gained 1 000 Experience Points UP!!", TALKTYPE_ORANGE_1)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doRemoveItem(item.uid)
return TRUE
end
end