Guest User

guil_war_join

a guest
Feb 13th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. quest guild_war_join begin
  2. state start begin
  3. when letter begin
  4. local e = guild.get_any_war()
  5.  
  6. if e != 0 and pc.get_war_map() == 0 then
  7. setskin(NOWINDOW)
  8. makequestbutton(locale.guild.war_join_request)
  9. end
  10. end
  11.  
  12. when button begin
  13. local e = guild.get_any_war()
  14.  
  15. if e == 0 then
  16. say_title( "Informa?ie: " )
  17. say("Razboiul a luat sfâroit.")
  18. else
  19. say_title("Informa?ie:")
  20. say("Împreuna cu amici tai po?i intra la acest razboi")
  21. say("Doreoti sa participi la acest razboi împotriva ")
  22. say("breslei "..guild.name(e).." ")
  23.  
  24. local s = select ( "Da, Vreau. " , "M-am razgândit. " )
  25.  
  26. if s == 1 then
  27. guild.war_enter(e)
  28. else
  29. setskin(NOWINDOW)
  30. makequestbutton(locale.guild.war_join_request)
  31. end
  32. end
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment