Activating and deactivating problem

I am activating and deactivating my guns on collision to create a weapon pick up feature. For example the Player starts with no gun because they are all deactivated on start, but if he collides with an object with a tag of say UZI that gun will become active, keeping all the other guns deactivated. This doesnt work how I would of thought, instead it only activates the M14 keeping everything else deactivated no matter which tagged object I collide with. I hope you understand my script better than my explanation, hope someone can help.

var glock : GameObject;
var UZI : GameObject;
var G36C : GameObject;
var M14 : GameObject;

function Start () { = false; = false; = false; = false;

function OnCollisionEnter(collision: Collision) {
if (collision.gameObject.tag == "UZI"); = true; = false; = false; = false;

if (collision.gameObject.tag == "glock"); = false; = true; = false; = false;

if (collision.gameObject.tag == "G36C"); = false; = false; = true; = false;

if (collision.gameObject.tag == "M14"); = false; = false; = false; = true;

do what whebert said, but also do this:

UZI.SetActive(true);  // correctly sets object and all subobjects active recursively = true;  // not correct

You need to surround each one of your if statement logic with { }, and not put a semicolon after the if. Like so:

if (collision.gameObject.tag == "UZI")
{ = true; = false; = false; = false;