command /gm [] []: trigger: if player has permission "you.gamemode" or "essentials.gamemode": if arg 1 is not "3" or "spectator": send "&8» &7Poprawne uzycie: &a/gm 3" if arg 1 is "3": send " " to arg-1 send "&8» &7Twoj tryb gry ulegl zmianie na &fspectatora" to arg-1 send "&8» &7Przez administratora&8: &a%player%" to arg-1 send " " to arg-1 execute console command "/minecraft:gamemode 3 %player%" send " " send "&8» &7Zmieniono tryb gry na &fspectatora" send "&8» &7Dla gracza&8: &a%arg-1%" send " "