Help with changing weapons script/ video

Hello, I started with Unity a little while ago and I started watching theslayer29179’s videos, and everything worked fine. I am on the tenth tutorial now and my code doesnt work here is the tut: http://www.youtube.com/watch?v=BLoDobaY7bo. It says: Assets/K�dy/K�d pro st�elbu.js(47,1): BCE0044: expecting }, found ‘’.

here is the code:

#pragma strict
var Fireballshot : Transform;
var shotsound : AudioClip;
var rock : Transform;

//intergers
var wswitch = 1; // zmena + = koule zmena ě = kámen

function Start () {

}
//střelba
function Update ()
{
if (Input.GetKeyUp(“e”))
{
if (weaponnumber == 1)
{
var fireball = Instantiate (Fireballshot,gameObject.Find(“BULLET_SPAWN”).transform.position,Quaternion.identity);
fireball.rigidbody.AddForce(transform.forward * 900);
audio.PlayOneShot(shotsound);
}
if (weaponnumber == 2)
{
var rock = Instantiate (rock,gameObject.Find(“BULLET_SPAWN”).transform.position,Quaternion.identity);
rock.rigidbody.AddForce(transform.forward * 900);
//audio.PlayOneShot(shotsound);
}

//zmenazbrane

if (input.GetKeyup(“1”))
{
weaponnumber = 1;
}
if (input.GetKeyup(“2”))
{
weaponnumber = 2;
}

}

What I dont get is, why it says ; expecting }, found ‘’. Please help me, this is pretty important for me, thx :))

You need to add another }. You have the function open and close. Then the first if statement has an open { then the rest are all open/close. You have the last bracket which would close the first if but don’t close the function.
Also a side note. Use the code tags when posting code. Makes it a lot easier for people to read.

where exactly please ?

#pragma strict
var Fireballshot : Transform;
var shotsound : AudioClip;
var rock : Transform;

//intergers
var wswitch = 1; // zmena + = koule zmena ě = kámen




function Start () {

}
//střelba
function Update ()
{
	if (Input.GetKeyUp("e"))
	{
		if (weaponnumber == 1)
		{
			var fireball = Instantiate (Fireballshot,gameObject.Find("BULLET_SPAWN").tran sform.position,Quaternion.identity);
			fireball.rigidbody.AddForce(transform.forward * 900);
			audio.PlayOneShot(shotsound);
		}
		if (weaponnumber == 2)
		{
			var rock = Instantiate (rock,gameObject.Find("BULLET_SPAWN").transform.po sition,Quaternion.identity);
			rock.rigidbody.AddForce(transform.forward * 900);
			//audio.PlayOneShot(shotsound);
		}
	}
	
	
	//zmenazbrane
	
	if (input.GetKeyup("1"))
	{
		weaponnumber = 1;
	}
	if (input.GetKeyup("2"))
	{
		weaponnumber = 2;
	}

}

EDIT: note I only added the missing bracket, so don;t know if code makes sens otherwise