How to have controlles switch from FPC to a RC Car

Hello Unity Community! I have been having the greatest time in Unity3d but have come across a problem. I am trying to have were the player, which would be a First Person Controller comes to a control stand (3d model)is able to press a key, say the button D button on the key board. This function sends the controlles and camera to a RC car witch the player can operate. Once the person is done using the RC car he is able to exit out or when he dies he is returned to his original body. I would complete this objective by myself but can not script worth a darn. Any scripts or references to a website with the required programming would be fantastic. Thank You so much
Sincerely, Cobalt 60

If you have a script to control your player and a script to control your RC car (I’m assuming you have already created individual controls for both), then you can use a variable to enable or disable the control scripts:
GetComponent(“ScriptName”).enabled = false;

With this you can dis/en-able your scripts…
It could look something like this:

var PlayerGameObject : GameObject;
var CarGameObject : GameObject;

var Player : Transform;
var Car : Transform;
var PlayerDied : boolean = false;

function Update () {

	if(Input.GetButtonUp("D"))
	{
		if(Player.GetComponent("ScriptName").enabled == true && Car.GetComponent("test").enabled == false)
		{
		Player.GetComponent("test").enabled = false;
		Car.GetComponent("test").enabled = true;
		
		PlayerGameObject.camera.enabled = false;
		CarGameObject.camera.enabled = true;
		}
		
		if(Player.GetComponent("ScriptName").enabled == false && Car.GetComponent("test").enabled == true || PlayerDied == true)
		{
		Player.GetComponent("test").enabled = true;
		Car.GetComponent("test").enabled = false;
		
		PlayerGameObject.camera.enabled = true;
		CarGameObject.camera.enabled = false;
		}


	}


}

You will have to assign all of the variables (GameObjects and Transforms) in the inspector view and you may have to define the Input key “D” under Edit>Project Settings>Input .
You will also have to set PlayerDied to true when your player dies, hope this helps!