Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. quest JebanePrzywolania begin
  2. state start begin
  3. function MetinSpawn(id)
  4. local metin = {8028, 8030, 8031, 8032, 8033, 8034, 8035, 8036, 8037, 8038, 8039, 8043}
  5. local x = pc.get_local_x()
  6. local y = pc.get_local_y()
  7. mob.spawn(metin[id], x, y, 1, 1, 1)
  8. pc.remove_item(79015, 1)
  9. end
  10.  
  11. when 79015.use begin
  12. chat("Jebac metina")
  13. say_title("Wybierz Metina:")
  14. local s = select("Metin", "To", "Jebane", "Gowno", "Anuluj")
  15. if s == 1 then
  16. JebanePrzywolania.MetinSpawn(1)
  17. elseif s == 2 then
  18. JebanePrzywolania.MetinSpawn(2)
  19. elseif s == 3 then
  20. JebanePrzywolania.MetinSpawn(3)
  21. elseif s == 4 then
  22. JebanePrzywolania.MetinSpawn(4)
  23. else
  24. return
  25. end
  26. --JebanePrzywolania.MetinSpawn(1)
  27. end
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement