'void' cannot be used in a boolean context.

hello,i made this script and i get four errors " ‘void’ cannot be used in a boolean context. "
i cant see what is problem… :S

var Village_Looted:boolean = false;                       
var Village_Menu:boolean = false;                         
var Show_Peasants_Inventory:boolean = false;       
var Show_Hostile_Action_Menu:boolean = false;      
var Village_Name:String;                                       
var Village_Description:String;                                
var Populace:int;                                               
var Background_Texture:Texture2D;                       
var Player:Transform;                                          
var Village_Position:Transform;                             

function OnMouseDown() {
	Village_Menu = true;
}

function OnGUI() {
	if(Village_Menu) {
		GUI.Button(new Rect(20, 20, 20, 20), "");
		
		if(GUI.Label(new Rect(20, 20, 20, 20), "Go To The Village Center.")) {
			Player.position = Village_Position.position;
			Village_Menu = false;
		}
		
		if(GUI.Label(new Rect(20, 20, 20, 20), "Buy Supplies From Peasants.")) {
			Show_Peasants_Inventory = true;
			Village_Menu = false;
		}
		
		if(GUI.Label(new Rect(20, 20, 20, 20), "Take A Hostile Action.")) {
			Show_Hostile_Action_Menu = true;
			Village_Menu = false;
		}
		
		if(GUI.Label(new Rect(20, 20, 20, 20), "Leave...")) {
			Village_Menu = false;
		}
	}
}

sorry for bad english

function OnGUI() {
	if(Village_Menu) {
		GUI.Label(new Rect(20, 20, 20, 20), "");
		
		if(GUI.Button(new Rect(20, 20, 20, 20), "Go To The Village Center.")) {
			Player.position = Village_Position.position;
			Village_Menu = false;
		}
		
		if(GUI.Button(new Rect(20, 20, 20, 20), "Buy Supplies From Peasants.")) {
			Show_Peasants_Inventory = true;
			Village_Menu = false;
		}
		
		if(GUI.Button(new Rect(20, 20, 20, 20), "Take A Hostile Action.")) {
			Show_Hostile_Action_Menu = true;
			Village_Menu = false;
		}
		
		if(GUI.Button(new Rect(20, 20, 20, 20), "Leave...")) {
			Village_Menu = false;
		}
	}
}

this should fix it

thanks :smile:D