Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 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.             end
  20.             --JebanePrzywolania.MetinSpawn(1)
  21.         end
  22.     end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement