Error BCE0019: 'HorizontalSlider' is not a member of 'GUI'.

What can i do?
Here is my code:
#pragma strict
var FOV : int;

function Start () {

}

function Update () {

}

function OnGUI ()
{
FOV = GUI.HorizontalSlider (Rect (25, 25, 100, 30), FOV, 65, 120);
}
I just want to display a Horizontal slider, i copyed the code from unity’s website, but it returns an error:
Assets/GUI.js(14,20): BCE0019: ‘HorizontalSlider’ is not a member of ‘GUI’.
I don’t know where is the error!
What can i do?
Thanks

I’d save the code on the editor, or restart Unity, cause that code works perfectly fine…

Just tested it to be 100% sure and it works like charm.

Do yourself a favour. Please don’t use Unitys GUI.
Get NGUI, I think there is a free version too, and save yourself a life time of headaches and performance problems.

Don’t call your scripts the same thing as Unity classes. Also, http://forum.unity3d.com/threads/143875-Using-code-tags-properly

–Eric