Advertisement
Guest User

Untitled

a guest
Feb 15th, 2015
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. function onSay(player, words, param)
  2. local SKILL_POINTS = 45200
  3.  
  4. local Point = ModalWindow(1, "Skill Points", "You have skill " ..player:getStorageValue(SKILL_POINTS).. " points make your choice:\n\n Skill Required Points Increase Amount")
  5. Point:addChoice(1, "1. Health 1 2")
  6. Point:addChoice(2, "2. Mana")
  7. Point:addChoice(3, "3. Magic Level")
  8. Point:addChoice(4, "4. Sword")
  9. Point:addChoice(5, "5. Axe")
  10. Point:addChoice(6, "6. Club")
  11. Point:addChoice(7, "7. Shielding")
  12. Point:addChoice(8, "8. Distance")
  13.  
  14. Point:addButton(1, 'Gain 1')
  15. Point:addButton(2, 'Gain 2')
  16. Point:addButton(3, 'Gain 5')
  17. Point:addButton(4, 'Cancel')
  18.  
  19. player:registerEvent("PointWindow")
  20. Point:sendToPlayer(player)
  21. return false
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement