/// <summary> /// This function tells you how open a door is (the 'open ratio'). /// </summary> public float GetDoorOpenRatio(Door door) { return(MtaShared.GetVehicleDoorOpenRatio(element, (int)door)); }