ERROR: It is not possible to invoke an expression of type 'float'.

totally stumped by this error… I know its gotta be something simple i just cant see it.\

#pragma strict

var sounds : AudioSource[];
var nextShot : float;
var shootSpeed : float;

function Start () 
{
	sounds = gameObject.GetComponents.<AudioSource>();
}

function Update () 
{
	nextShot+=Time.deltaTime(); //error here
	if(nextShot>shootSpeed)
	{
		nextShot=0;
		Debug.Log("PEW");
	}

}

the error is: BCE0077: It is not possible to invoke an expression of type ‘float’.

Time.deltaTime is not a function. It is a variable. You cannot call/invoke a variable (Unless it’s a pointer to a function)

Benproductions1