Unexpected symbol `)', expecting identifier How to fix this
private void OnPlayerEnter (player) { //cause bots statistics are not sync by Hashtables as player data do we need sync it by RPC //so for sync it just one time (after will be update by the local client) we send it when a new player enter (only to the new player) if (PhotonNetwork.IsMasterClient && player.ActorNumber != PhotonNetwork.LocalPlayer.ActorNumber) { //so first we recollect all the stats from the master client and join it in a string line string line = ""; for (int i = 0; i < BotsStatistics.Count; i++) { BotsStats b = BotsStatistics[i]; line += string.Format("{0},{1},{2},{3},{4},{5}|", b.Name, b.Kills, b.Deaths, b.Score, (int)b.Team, b.ViewID); } //and send to the new player so him can have the data and update locally. photonView.RPC("SyncAllBotsStats", player, line); } }