So, im doing a new minigame for me and my friends. but theres one issue: when it teleports, it teleports all players to one place.
What i want:
-I want the players that has different value to teleport to a certain location
for example: if {example::%player%} = 1 then they will teleport to the world spawn. else they will get teleported to the 10k to 10k.
the code now:
if {takim::%player%} is equal to 2:
teleport player to location(278.00, -34.9, -1737.0, world "world", 90, 0) #blue
else if {takim::%player%} is equal to 1:
teleport player to location(278.00, -34.9, -1798.0, world "world", -90, 0) #red
What i want:
-I want the players that has different value to teleport to a certain location
for example: if {example::%player%} = 1 then they will teleport to the world spawn. else they will get teleported to the 10k to 10k.
the code now:
if {takim::%player%} is equal to 2:
teleport player to location(278.00, -34.9, -1737.0, world "world", 90, 0) #blue
else if {takim::%player%} is equal to 1:
teleport player to location(278.00, -34.9, -1798.0, world "world", -90, 0) #red