ok here it is the problom is in red unity tells me is a unkonw or something
ps. some one is helping me with this i sent him a e-mail he will be reading it win he can
function Update () {
if(Input.GetAxis("Horizontal") > 0.0){ //if the right arrow is pressed
transform.Rotate(0.0, [COLOR="red"]turnSpeed[/COLOR] * Time.deltaTime, -10.0 * Time.deltaTime, Space.World); //and then turn the plane
}
if(Input.GetAxis("Horizontal") < 0.0){ //if the left arrow is pressed
transform.Rotate(0.0, [COLOR="red"]-turnSpeed [/COLOR]* Time.deltaTime, 10.0 * Time.deltaTime, Space.World); //The X-rotation turns the plane - the Z-rotation tilts it
}
if(Input.GetAxis("Vertical") > 0.0){ //if the up arrow is pressed
transform.Rotate(10.0 * Time.deltaTime, 0.0, 0.0);
}
if(Input.GetAxis("Vertical") < 0.0){ //if the down arrow is pressed
transform.Rotate(-10.0 * Time.deltaTime, 0.0, 0.0);
}
}