SHARE
TWEET

[gm]

kawaneko Aug 19th, 2019 (edited) 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /gm <number>:
  2.     permission: skript.admin
  3.     trigger:
  4.         if arg-1 is set:
  5.             if arg-1 is 0 or 1 or 2 or 3:
  6.                 if arg-1 is 0:
  7.                     set player's gamemode to survival
  8.                 if arg-1 is 1:
  9.                     set player's gamemode to creative
  10.                 if arg-1 is 2:
  11.                     set player's gamemode to adventure
  12.                 if arg-1 is 3:
  13.                     set player's gamemode to spectator
  14.             else:
  15.                 send "&c使用法:/gm <モード> [プレイヤー]"
  16.         else:
  17.             send "&c使用法:/gm <モード> [プレイヤー]"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top