public FindHighestScore(){ new Player_Score_Save = 0; new Player_Score_ID = 0; new Player_Score_ID2 = 0; new Player_Draw_Check = 0; new Player_Draw_Array[100] = 0; new Player_Draw_Array_Count = 0; new Debug_Enabled = 1; new A_Score_Is_Found = 0; //Setup the array before use if(Debug_Enabled) { SendClientMessageToAll(COLOR_YELLOW, "Setting up the array"); } for(new i=0; i<100; i++) { Player_Draw_Array[i] = 101; } if(Debug_Enabled) { SendClientMessageToAll(COLOR_YELLOW, "Setting up the array... DONE"); } //Array setup and ready to go... if(Debug_Enabled) { SendClientMessageToAll(COLOR_YELLOW, "Searching players for best score!"); } for(new i=0; i Player_Score_Save) { if(Debug_Enabled) { SendClientMessageToAll(COLOR_YELLOW, "Found a player with a better score than last time!"); } Player_Score_Save = GetPlayerScore(i); Player_Score_ID = i; A_Score_Is_Found = l; } } } if(A_Score_Is_Found == 1) { if(Debug_Enabled) { SendClientMessageToAll(COLOR_YELLOW, "Outta the loop - lets loop now for the draw system"); } Player_Score_ID2 = 101; for(new i=0; i