/// <summary> /// This function returns the current state of the specifed door on this vehicle. /// </summary> public DoorState GetDoorState(Door door) { return((DoorState)MtaShared.GetVehicleDoorState(element, (int)door)); }