Guest User

Untitled

a guest
Aug 7th, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.00 KB | None | 0 0
  1. quest mounty begin
  2.     state start begin
  3.         when 2222.use begin
  4.             if pc.is_polymorphed() then
  5.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  6.             elseif false == pc. is_riding() then
  7.                 if true == horse.is_summon() then
  8.                     horse.unsummon()
  9.                 end
  10.                 pc.mount(20176, 600)
  11.             else
  12.                 pc.unmount()
  13.             end
  14.         end
  15.        
  16.         when 3333.use begin
  17.             if pc.is_polymorphed() then
  18.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  19.             elseif false == pc. is_riding() then
  20.                 if true == horse.is_summon() then
  21.                     horse.unsummon()
  22.                 end
  23.                 pc.mount(20182, 600)
  24.             else
  25.                 pc.unmount()
  26.             end
  27.         end
  28.        
  29.         when 7777.use begin
  30.             if pc.is_polymorphed() then
  31.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  32.             elseif false == pc. is_riding() then
  33.                 if true == horse.is_summon() then
  34.                     horse.unsummon()
  35.                 end
  36.                 pc.mount(20193, 600)
  37.             else
  38.                 pc.unmount()
  39.             end
  40.         end
  41.        
  42.         when 8888.use begin
  43.             if pc.is_polymorphed() then
  44.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  45.             elseif false == pc. is_riding() then
  46.                 if true == horse.is_summon() then
  47.                     horse.unsummon()
  48.                 end
  49.                 pc.mount(item.vnum, 0)
  50.             else
  51.                 pc.unmount()
  52.             end
  53.         end
  54.        
  55.         when 9999.use begin
  56.             if pc.is_polymorphed() then
  57.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  58.             elseif false == pc. is_riding() then
  59.                 if true == horse.is_summon() then
  60.                     horse.unsummon()
  61.                 end
  62.                 pc.mount(20190, 600)
  63.             else
  64.                 pc.unmount()
  65.             end
  66.         end
  67.        
  68.         when 2345.use begin
  69.             if pc.is_polymorphed() then
  70.                 chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będąc przemienionym.")
  71.             elseif false == pc. is_riding() then
  72.                 if true == horse.is_summon() then
  73.                     horse.unsummon()
  74.                 end
  75.                 pc.mount(20196, 600)
  76.             else
  77.                 pc.unmount()
  78.             end
  79.         end
  80.     end
  81. end
Advertisement
Add Comment
Please, Sign In to add comment