#Hey, Im trying to make gamemode command
1 messages · Page 1 of 1 (latest)
this
if anyone sees this, ignore the thread maker, they ignored all forms of help and just said “no” and going on to be highly rude and toxic
^
@rich pendant this is quite complicated, I understand why you need help. Head over to https://docs.skunity.com/ and search for the elements you need. You should also probably make a /gamemode command that changes your gamemode to survival/creative. You can do this by:
- creating a command
- setting a variable to the player that executed the command
- loop all players
- check if the looped player is the variable (the one that sent the command)
- then change their gamemode.
Here is an example:command changemygamemodeplease: code: set {buffoon} to "%player%" loop all players: if size of all players >= 1: if loop-player is {buffoon}: cycle the gamemode of loop-player-buffoon to (next gamemode)
Also a true advice: replace code: to trigger:
wow! i didn't know that! thank you so much!