if(!networkView.isMine)

Hello
Unity 3d reports this error and do not know anymore what to do

Assets/progetto/Script/script controller player/Java/NewBehaviourScript.js(2,13): BCE0144: ‘UnityEngine.Component.networkView’ is obsolete. Property networkView has been deprecated. Use GetComponent() instead. (UnityUpgradable)

the script and that someone could help me???

function Awake(){
	if(!networkView.isMine){ //Checks if networkView is not ours(character is not created by us) if thats true it:
		gameObject.GetComponentInChildren(Camera).enabled = false;  //Disables camera
		gameObject.GetComponentInChildren(AudioListener).enabled = false; //Disables audio listener
		gameObject.GetComponent(MouseLook).enabled = false; //Disables character’s mouse look
		gameObject.GetComponent(FPSInputController).enabled = false; //Disables character’s movement script, change FPSInputController to CharacterMove if you use CharacterMove.js
	}
}

Hello @roky95,

There is a lot of stuff everyone had to change due to new unity conventions, this is how your code should be like.

 function Awake(){
     NetworkView nView = GetComponent(NetworkView); //We get and store the NetworkView

     if(!nView.isMine){ //Note we are using the "nView " variable that we store up there /\
         gameObject.GetComponentInChildren(Camera).enabled = false;  
         gameObject.GetComponentInChildren(AudioListener).enabled = false; 
         gameObject.GetComponent(MouseLook).enabled = false; 
         gameObject.GetComponent(FPSInputController).enabled = false;
     }
 }

You can read about these new Scripts updates here: UNITY 5: API CHANGES & AUTOMATIC SCRIPT UPDATING

I hope this helps you out!
-Leo