crosshair isnt showing

im using the same code from the fps tutorial, here it is below for your reference

var crosshairTexture : Texture2D;

var position : Rect;

function Start () { Screen.showCursor = false; position = Rect((Screen.width - crosshairTexture.width ) / 2, ( Screen.height - crosshairTexture.height ) / 2, crosshairTexture.width, crosshairTexture.height );

}

function onGUI () { GUI.DrawTexture( position, crosshairTexture ); }

but the crosshair just wont show up. im using my own 2dtexture for the crosshair

It needs to be OnGUI instead of onGUI