10 errors, need help with my script

I have a code for multiplayer using Photon PUN, but I get ten errors. Can someone help me and/or tell me what’s wrong with my code?

Here is my code:

using UnityEngine;
using System.Collections;

public class Multiplayer : Photon.MonoBehaviour {
	public GameObject myCamera;
	// Use this for initialization
	void Start () {
		if(photonView.isMine){
			myCamera.SetActive(true);
			GetComponent<Drivetrain>().enabled = true;
			GetComponent<CarController>().enabled = true;
			GetComponent<Rigidbody>().useGravity = true;
			AntiRollBar[] AntiRollBar = GetComponents<AntiRollBar>();
			foreach(AntiRollBar bar in AntiRollBar)bar.enabled = false;
		}
		else{
			myCamera.SetActive(false);
			GetComponent<Drivetrain>().enabled = false;
			GetComponent<CarController>().enabled = false;
			GetComponent<Rigidbody>().useGravity = false;
		}
		void OnPhotonSerializeView(PhotonStream Stream, PhotonMessageInfo info){
			if(stream.isWriting){
				stream.SendNext(transform.position);
				stream.SendNext(transform.rotation);
			}
			else{
				transfrom.position = (Vector3)Stream.RecieveNext();
				transfrom.rotation = (Quaternion)Stream.RecieveNext();
			}
		}
	}
} 

Here are my errors:

  1. Assets/Photon Unity Networking/Multiplayer.cs(22,42): error CS1547: Keyword `void’ cannot be used in this context
  2. Assets/Photon Unity Networking/Multiplayer.cs(22,43): error CS1525: Unexpected symbol (', expecting )‘, ,', ;’, [', or =’
  3. Assets/Photon Unity Networking/Multiplayer.cs(27,28): error CS1519: Unexpected symbol `else’ in class, struct, or interface member declaration
  4. Assets/Photon Unity Networking/Multiplayer.cs(28,52): error CS1519: Unexpected symbol `=’ in class, struct, or interface member declaration
  5. Assets/Photon Unity Networking/Multiplayer.cs(28,62): error CS1519: Unexpected symbol `)’ in class, struct, or interface member declaration
  6. Assets/Photon Unity Networking/Multiplayer.cs(28,81): error CS1519: Unexpected symbol `(’ in class, struct, or interface member declaration
  7. Assets/Photon Unity Networking/Multiplayer.cs(29,52): error CS1519: Unexpected symbol `=’ in class, struct, or interface member declaration
  8. Assets/Photon Unity Networking/Multiplayer.cs(29,65): error CS1519: Unexpected symbol `)’ in class, struct, or interface member declaration
  9. Assets/Photon Unity Networking/Multiplayer.cs(29,84): error CS1519: Unexpected symbol `(’ in class, struct, or interface member declaration
  10. Assets/Photon Unity Networking/Multiplayer.cs(31,17): error CS8025: Parsing error

You have included your OnPhotonSerializeView() function inside Start(). Move the brace from line 32 to between 21 and 22. (From looking at the code.)