Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setarena [<text>]:
- trigger:
- if player has permission "arena.staff":
- if arg 1 is "fps":
- set {fps.entrada} to player's location
- send "&5&l[ARENA] &eArena FPS setada com sucesso!"
- stop
- if arg 1 is "end":
- set {end.entrada} to player's location
- send "&5&l[ARENA] &eArena END setada com sucesso!"
- stop
- if arg 1 is "principal":
- set {gelo.entrada} to player's location
- send "&5&l[ARENA] &eArena PRINCIPAL setada com sucesso!"
- stop
- if arg 1 is "deserto":
- set {deserto.entrada} to player's location
- send "&5&l[ARENA] &eArena DESERTO setada com sucesso!"
- stop
- else:
- send "&cComando errado! Use /arena admin para ver os comandos."
- else:
- send "&cSem permissão."
- command /arena [<text>]:
- trigger:
- if arg 1 is set:
- if arg 1 is "fps":
- teleport player to {fps.entrada}
- broadcast "&5&l[ARENA] &e%player% está na arena FPS! &c/Arena fps"
- stop
- if arg 1 is "end":
- teleport player to {end.entrada}
- broadcast "&5&l[ARENA] &e%player% está na arena END! &4/Arena end"
- stop
- if arg 1 is "principal":
- teleport player to {gelo.entrada}
- broadcast "&5&l[ARENA] &e%player% está na arena PRINCIPAL! &4/Arena principal"
- stop
- if arg 1 is "deserto":
- teleport player to {deserto.entrada}
- broadcast "&5&l[ARENA] &e%player% está na arena DESERTO! &4/Arena deserto"
- stop
- if arg 1 is "admin":
- send "&c/Setarena [FPS|END|PRINCIPAL|DESERTO]"
- stop
- if arg 1 is "ajuda":
- send "&c/Arena [FPS|END|PRINCIPAL|DESERTO]"
- stop
- else:
- send "&fComando errado! Use /arena [FPS|END|PRINCIPAL|DESERTO]"
- else:
- send "&fComando errado! Use /arena [FPS|END|PRINCIPAL|DESERTO]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement