Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local needPremmy = true
- local gainPertence = 50 -- attack speed que vai ganhar
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- if (needPremmy == true and isPremium(cid) == true) or (needPremmy == false and isPremium(cid) == false) then
- setItemAttackSpeed(itemEx.uid, getItemAttackSpeed(itemEx.uid)+gainPertence)
- setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' AttackSpeed:'..gainPertence)
- doRemoveItem(item.uid, 1)
- end
- return TRUE
- end
- .
Add Comment
Please, Sign In to add comment