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 aPlayer_Has_A_Score = 0; new str1[STR_LEN] = ""; new str2[STR_LEN] = ""; new str3[STR_LEN] = ""; new strFirstName[MAX_PLAYER_NAME] = ""; new strSecondName[MAX_PLAYER_NAME] = ""; //Some array shit new strDrawArray[STR_LEN] = ""; new strDrawPlayerName[MAX_PLAYER_NAME] = ""; //Setup the array before use for(new i=0; i<100; i++) { Player_Draw_Array[i] = 101; } //Array setup and ready to go... //Start a loop around max players for(new i=0; i Player_Score_Save) { //save the player details Player_Score_Save = GetPlayerScore(i); Player_Score_ID = i; aPlayer_Has_A_Score = 1; } } } //by this point, the 3 arrays would have been filled with some information //or 1 array been filled (if all scores = 0) if(aPlayer_Has_A_Score == 1) { //Display the winning name //strDrawPlayerName = ReadPlayerName(Player_Score_ID); //SendClientMessageToAll(COLOR_PINK, "Player with highest score:"); //SendClientMessageToAll(COLOR_PINK, strDrawPlayerName); //Loop around all the players again, looking for the same score. for(new i=0; i