elseif (fix == $3) {
if ($vcmp.vehicle($1, $2) = 0) vcmp.msg $1 $2 You can only fix vehicles! Not yourself!
elseif ($FBS.CarOwner($vcmp.vehicle($1, $2)) == $vcmp.name($1, $2)) {
var %a = 0
var %b = $vcmp.vehicle($1, $2),%c = $vcmp.location($1, $2),%d = $vcmp.location($1, $2).x $vcmp.location($1, $2).y $calc($vcmp.location($1, $2).z - 1.12)
vcmp.setlocation $1 $2 %c %a
vcmp.setvehicleloc $1 %b 1 1 1
vcmp.setvehiclehealth $1 %b 1000
vcmp.msg $1 $2 Please wait while we fix your car...
!.timer 1 7 /vcmp.setvehicleloc $1 %b %d
!.timer 1 7 /vcmp.setvehicle $1 $2 %b
!.timer 1 7 /vcmp.msg $1 $2 Thank you for your patience. You car has been fixed.
}
elseif ($FBS.CarOwner($vcmp.vehicle($1, $2)) == $vcmp.name($1, $2)) {
var %a = 0
var %b = $vcmp.vehicle($1, $2),%c = $vcmp.location($1, $2),%d = $vcmp.location($1, $2).x $vcmp.location($1, $2).y $calc($vcmp.location($1, $2).z - 1.12)
vcmp.setlocation $1 $2 %c %a
vcmp.setvehicleloc $1 %b 1 1 1
vcmp.setvehiclehealth $1 %b 1000
vcmp.msg $1 $2 Please wait while we fix your car...
!.timer 1 7 /vcmp.setvehicleloc $1 %b %d
!.timer 1 7 /vcmp.setvehicle $1 $2 %b
!.timer 1 7 /vcmp.msg $1 $2 Thank you for your patience. You car has been fixed.
}
else {
vcmp.msg $1 $2 You do not own or share this vehicle
}
}