Class[playerid]++;if(Class[playerid] == 1) { //setplayerpos(.) setplayercam...}if(Class[playerid] == 2) {}