All pastes #215670 Raw Edit

Something

public text v1 · immutable
#215670 ·published 2006-10-22 19:21 UTC
rendered paste body
public OnGameModeExit()
{
	new File:tmphandle;
	new File:fhandle;
	new temp[256];
	new string[256];
	new checkOn[256];
	new string2[256];
	for(new i = 0; i < totalCheckpoints; i++)
	{
		GivePlayerMoney(dynCheckOwner[i], ((dynCheckCosts[i]/100)*90));
		dynCheckOwner[i] = 999;
	}

	for(new j=0; j<=MAX_PLAYERS; j++)
	{
	    if(IsPlayerConnected(j))
		{
		    if(loggedIn[j] == 1)
		    {
  //dostuffhere
				fclose(tmphandle);
				fclose(fhandle);
     		}
       	}
	}
	return 1;
}