SetCheckpointForAll(...){ for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) SetPlayerCheckpoint(...); }}