public static void RefreshSteamFriendArray() { try { int numFriends = steam.GetFriendCount(); steamFriendNames = new string[numFriends]; for (int i = 0; i < numFriends; i++) { steamFriendNames[i] = steam.GetPersonaNameByFriendIndex(i); } } catch { } }