SetTimer("SaveAllPlayersStats",10*60*1000,1);forward SaveAllPlayersStats();public SaveAllPlayersStats(){ for(new i=0; i<=MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) SavePlayer(i); }}