You defined goto with MAX_PLAYERS, what thought come into mind dont you think it will disable command for playerid that uses it?
The variable must to be for each player as I can see in his/her cmd. Otherwise when one player use /gos he/she will disable teleporting for all players