Próbáld meg így..
public MoveLift()
{
if(lift == 0) MoveObject(liftobject, -2391.9258, -2002.0930, 301.2155, 15.0, 0.0000, 0.0000, 140.5846), lift = 1;
else MoveObject(liftobject, -2099.14990, -2237.17969, 33.05110, 15, 0.00000, 0.00000, 142.62920), lift = 0;
return 1;
}