Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local addons = {128, 129, 131} --id outfitow z clienta :)
- function onThink(cid)
- if getCreatureStorage(cid, 47562) == -1 then
- n = 0
- for _, s in ipairs(addons) do
- if not canPlayerWearOutfit(cid, s, 2) then
- break
- end
- n = n + 1
- end
- if #addons == n then
- doCreatureSetStorage(cid, 47562, 1)
- doCreatureSay(cid, "+20% HP/MP! For FULL ADDONS!", 19)
- doCreatureAddMana(cid, getCreatureMaxMana(cid)*(10/100))
- doCreatureAddHealth(cid, getCreatureMaxHealth(cid)*(10/100))
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement