// sets and syncs custom properties on a network player (including masterClient)
private void SetCustomProperties(PhotonPlayer player, int car, int position) {
ExitGames.Client.Photon.Hashtable customProperties = new ExitGames.Client.Photon.Hashtable() { { "spawn", position }, {"car", car} };
player.SetCustomProperties(customProperties);
}