S3rowy

Untitled

Sep 15th, 2016
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. ######################################
  2. # Skrypt by S3rowy #
  3. # Zakaz Podszywanie sie pod autora #
  4. # Mozesz zmienic KOD #
  5. ######################################
  6.  
  7. command /Budowanie <integer> [<player>]:
  8. trigger:
  9. if player has permission "essentials.gamemode":
  10. if arg 2 is set:
  11. if arg 1 is 1:
  12. set the gamemode of argument 2 to creative
  13. send "&f[&e&lTWOJSERWER&f] &6%player% &czmienil twoj tryb gry na Creative !" to arg 2
  14. send "&f[&e&lTWOJSERWER&f] &cZminiles tryb gry gracza &6%arg 2% &cna Creative!"
  15. stop
  16. if arg 1 is 0:
  17. set the gamemode of argument 2 to survival
  18. send "&f[&e&lTWOJSERWER&f] &6%player% &czmienil twoj tryb gry na Survival !" to arg 2
  19. send "&f[&e&lTWOJSERWER&f] &cZmieniles tryb gry gracza &6%arg 2% &cna Survival !"
  20. stop
  21. else:
  22. if arg 1 is 1:
  23. set the gamemode of the player to creative
  24. send "&f[&e&lTWOJSERWER&f] &cZmeniles swoj tryb gry na na Creative !"
  25. stop
  26. if arg 1 is 0:
  27. set the gamemode of the player to survival
  28. send "&f[&e&lTWOJSERWER&f] &cZmieniles swoj tryb gry na na Survival !"
  29. stop
  30. else:
  31. send "&f[&e&lTWOJSERWER&f] &cNie masz dostepu do tej komendy !"
  32. stop
Advertisement
Add Comment
Please, Sign In to add comment