Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. quest anti begin
  2. state start begin
  3. when 72501.use begin
  4. if pc.getqf("antiexp") == 0 then
  5. pc.setqf("antiexp", 1)
  6. chat("Anty Exp aktywowany. Twoje doświadczenie zostało zmienione do 0!")
  7. local ep = pc.get_exp()
  8. pc.give_exp2(-ep)
  9. timer("erfahrung", 1)
  10. elseif pc.getqf("antiexp") == 1 then
  11. pc.setqf("antiexp", 0)
  12. chat("Anti EXP dezaktywowany. Życzymy miłej gry na serverze Miris2!")
  13. end
  14. end
  15.  
  16. when erfahrung.timer with pc.getqf("antiexp") == 1 begin
  17. local ep = pc.get_exp()
  18. pc.give_exp2(-ep)
  19. timer("erfahrung1", 1)
  20. pc.setqf("antiexp", 1)
  21. end
  22.  
  23. when erfahrung1.timer with pc.getqf("antiexp") == 1 begin
  24. local ep = pc.get_exp()
  25. pc.give_exp2(-ep)
  26. timer("erfahrung", 1)
  27. pc.setqf("antiexp", 1)
  28. end
  29.  
  30. when login with pc.getqf("antiexp") == 1 begin
  31. local ep = pc.get_exp()
  32. pc.give_exp2(-ep)
  33. timer("erfahrung", 1)
  34. pc.setqf("antiexp", 1)
  35. end
  36. end
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement