Guest User

Function

a guest
Dec 3rd, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. function "wojownik":
  2. set {_p} to parameter 1
  3. set {class.%{_p}%} to 1
  4. send "&2Wybrales klase: Wojownik. Teraz wybierz krolestwo!" to {_p}
  5. open chest with 1 rows named "&4Krolestwo" to {_p}
  6. wait 1 ticks
  7. format slot 0 of {_p} with 1 of player head named "&3Rasa Ludzi" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "ludzie" from {_p}]
  8. format slot 1 of {_p} with 1 of creeper head named "&3Rasa Elfow" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "elfy" from {_p}]
  9. stop
  10. function "mag":
  11. set {_p} to parameter 1
  12. set {class.%{_p}%} to 2
  13. send "&2Wybrales klase: Mag. Teraz wybierz krolestwo!" to {_p}
  14. open chest with 1 rows named "&4Krolestwo" to {_p}
  15. wait 1 ticks
  16. format slot 0 of {_p} with 1 of player head named "&3Rasa Ludzi" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "ludzie" from {_p}]
  17. format slot 1 of {_p} with 1 of creeper head named "&3Rasa Elfow" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "elfy" from {_p}]
  18. stop
  19. function "zwiadowca":
  20. set {_p} to parameter 1
  21. set {class.%{_p}%} to 3
  22. send "&2Wybrales klase: Zwiadowca. Teraz wybierz krolestwo!" to {_p}
  23. open chest with 1 rows named "&4Krolestwo" to {_p}
  24. wait 1 ticks
  25. format slot 0 of {_p} with 1 of player head named "&3Rasa Ludzi" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "ludzie" from {_p}]
  26. format slot 1 of {_p} with 1 of creeper head named "&3Rasa Elfow" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "elfy" from {_p}]
  27. stop
  28. function "kaplan":
  29. set {_p} to parameter 1
  30. set {class.%{_p}%} to 4
  31. send "&2Wybrales klase: Kaplan. Teraz wybierz krolestwo!" to {_p}
  32. open chest with 1 rows named "&4Krolestwo" to {_p}
  33. wait 1 ticks
  34. format slot 0 of {_p} with 1 of player head named "&3Rasa Ludzi" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "ludzie" from {_p}]
  35. format slot 1 of {_p} with 1 of creeper head named "&3Rasa Elfow" with lore "&6Opisy niedostepne!||&6%{_p}% daj swoja propozycje na &3ermania.net&6!" to close then run [access "elfy" from {_p}]
  36. stop
  37. function "ludzie":
  38. set {_p} to parameter 1
  39. set {kingdom.%{_p}%} to 1
  40. send "&2Wybrales krolestwo: Ludzi. Przeteleportowano do wioski!" to {_p}
  41. send "&4Pamietaj! Jestes wrogiem dla elfow, musisz z nimi walczyc!" to {_p}
  42. stop
  43. function "elfy":
  44. set {_p} to parameter 1
  45. set {kingdom.%{_p}%} to 2
  46. send "&2Wybrales krolestwo: Elfow. Przeteleportowano do wioski!" to {_p}
  47. send "&4Pamietaj! Jestes wrogiem dla ludzi, musisz z nimi walczyc!" to {_p}
  48. stop
Advertisement
Add Comment
Please, Sign In to add comment