i have this script:
var box : Transform;
function Update () {
var dist : float = Vector3.Distance(box.position, transform.position);
if(dist <= 20){
GetComponent("veahcle script 3") enabled = true;
}else{
GetComponent("veahcle script 3") enabled = false;
}
}
it says on the 2 get component lines that i need 2 insert ; at the end... but there r... HELP ME!!!! thanks in advance :)