Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(player, words, param)
- local SKILL_POINTS = 45200
- local Point = ModalWindow(1, "Skill Points", "You have skill " ..player:getStorageValue(SKILL_POINTS).. " points make your choice:\n\n Skill Required Points Increase Amount")
- Point:addChoice(1, "1. Health 1 2")
- Point:addChoice(2, "2. Mana")
- Point:addChoice(3, "3. Magic Level")
- Point:addChoice(4, "4. Sword")
- Point:addChoice(5, "5. Axe")
- Point:addChoice(6, "6. Club")
- Point:addChoice(7, "7. Shielding")
- Point:addChoice(8, "8. Distance")
- Point:addButton(1, 'Gain 1')
- Point:addButton(2, 'Gain 2')
- Point:addButton(3, 'Gain 5')
- Point:addButton(4, 'Cancel')
- player:registerEvent("PointWindow")
- Point:sendToPlayer(player)
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement