Show / Hide Table of Contents

Class Helicopter

Represents helicopter vehicles

Inheritance
Object
Element
PhysicalElement
SharedVehicle
BaseVehicle
Helicopter
Inherited Members
BaseVehicle.Controler
BaseVehicle.Occupants
BaseVehicle.AdjustableProperty
BaseVehicle.Components
BaseVehicle.CurrentGear
BaseVehicle.Gravity
BaseVehicle.NitroCount
BaseVehicle.NitroLevel
BaseVehicle.NitroActivated
BaseVehicle.IsNitroRecharging
BaseVehicle.Blow()
BaseVehicle.GetOccupant(Seat)
BaseVehicle.GetComponent(ComponentType, ComponentBase)
BaseVehicle.IsWheelOnGround(Wheel)
BaseVehicle.isWindowOpen(Window)
BaseVehicle.SetWindowOpen(Window, Boolean)
BaseVehicle.OnCollisionShapeHit
BaseVehicle.OnCollisionShapeLeave
BaseVehicle.OnCollision
BaseVehicle.OnDamage
BaseVehicle.OnEnter
BaseVehicle.OnExit
BaseVehicle.OnStartEnter
BaseVehicle.OnStartExit
BaseVehicle.OnExplode
BaseVehicle.OnRespawn
BaseVehicle.OnNitroStateChange
BaseVehicle.OnExplosion
BaseVehicle.OnWorldSound
BaseVehicle.OnWeaponHit
SharedVehicle.PrimaryColor
SharedVehicle.SecondaryColor
SharedVehicle.Colors
SharedVehicle.HeadLightColor
SharedVehicle.Name
SharedVehicle.MaxPassengers
SharedVehicle.EngineRunning
SharedVehicle.Handling
SharedVehicle.OverrideLights
SharedVehicle.Paintjob
SharedVehicle.PlateText
SharedVehicle.Sirens
SharedVehicle.VehicleType
SharedVehicle.Upgrades
SharedVehicle.IsBlown
SharedVehicle.DamageProof
SharedVehicle.FuelTankExplodable
SharedVehicle.Locked
SharedVehicle.IsOnGround
SharedVehicle.DoorsUndamagable
SharedVehicle.Variant
SharedVehicle.WheelState
SharedVehicle.VehicleTowedByThis
SharedVehicle.Fix()
SharedVehicle.DetachTowedVehicle(SharedVehicle)
SharedVehicle.DetachAnyTowedVehicle()
SharedVehicle.AddUpgrade(Upgrade)
SharedVehicle.GetCompatibleUpgrades(UpgradeSlot)
SharedVehicle.GetCompatibleUpgrades()
SharedVehicle.GetUpgradeOnSlot(UpgradeSlot)
SharedVehicle.RemoveUpgrade(Upgrade)
SharedVehicle.GetDoorOpenRatio(Door)
SharedVehicle.SetDoorOpenRatio(Door, Single, Int32)
SharedVehicle.GetDoorState(Door)
SharedVehicle.SetDoorState(Door, DoorState)
SharedVehicle.GetLightState(Light)
SharedVehicle.SetLightState(Light, LightState)
SharedVehicle.GetPanelDamage(Panel)
SharedVehicle.SetPanelDamage(Panel, DamageLevel)
PhysicalElement.Dimension
PhysicalElement.Interior
PhysicalElement.Frozen
PhysicalElement.Alpha
PhysicalElement.Health
PhysicalElement.Model
PhysicalElement.CollisionShape
PhysicalElement.CollisionsEnabled
PhysicalElement.LowLODElement
PhysicalElement.DoubleSided
PhysicalElement.IsInWater
PhysicalElement.IsLowLOD
PhysicalElement.Position
PhysicalElement.Rotation
PhysicalElement.QuaternionRotation
PhysicalElement.Matrix
PhysicalElement.ForwardVector
PhysicalElement.RightVector
PhysicalElement.UpVector
PhysicalElement.Velocity
PhysicalElement.AngularVelocity
PhysicalElement.AngularQuaternionVelocity
PhysicalElement.ToAttached
PhysicalElement.IsAttached
PhysicalElement.IsWithinCollisionShape(CollisionShape)
PhysicalElement.IsWithinMarker(SharedMarker)
PhysicalElement.AttachTo(PhysicalElement, Matrix4x4)
PhysicalElement.AttachTo(PhysicalElement, Vector3, Vector3)
PhysicalElement.AttachTo(PhysicalElement, Vector3, Quaternion)
PhysicalElement.AttachTo(PhysicalElement)
PhysicalElement.Detach()
PhysicalElement.Offset
PhysicalElement.GetWithinRange(Vector3, Single, String)
PhysicalElement.FaceElement(PhysicalElement)
PhysicalElement.OnClicked
PhysicalElement.OnModelChange
PhysicalElement.OnStartSync
PhysicalElement.OnStopSync
PhysicalElement.OnStreamIn
PhysicalElement.OnStreamOut
Element.element
Element.Root
Element.MTAElement
Element.Type
Element.ID
Element.Exists
Element.ChildCount
Element.Parent
Element.CallPropagationEnabled
Element.SetData(String, Object, Boolean)
Element.GetData(String, Boolean)
Element.TryGetData(String, Object, Boolean)
Element.GetData<T>(String, Boolean)
Element.TryGetData<T>(String, T, Boolean)
Element.Destroy()
Element.GetChild(Int32)
Element.GetChildren(String)
Element.GetByID(String, Int32)
Element.ListenForEvent(String, Boolean, String)
Element.HandleEvent(String, MtaElement, Object, Object, Object, Object, Object, Object, Object, Object)
Element.OnDestroy
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Vehicles
Assembly: SlipeClient.dll
Syntax
public class Helicopter : BaseVehicle

Constructors

| Improve this Doc View Source

Helicopter(HelicopterModel, Vector3)

Create a plane from a model at a position

Declaration
public Helicopter(HelicopterModel model, Vector3 position)
Parameters
Type Name Description
HelicopterModel model
Vector3 position
| Improve this Doc View Source

Helicopter(HelicopterModel, Vector3, Vector3, String, Int32, Int32)

Create a plane using all createVehicle arguments

Declaration
public Helicopter(HelicopterModel model, Vector3 position, Vector3 rotation, string numberplate = "", int variant1 = 1, int variant2 = 1)
Parameters
Type Name Description
HelicopterModel model
Vector3 position
Vector3 rotation
String numberplate
Int32 variant1
Int32 variant2

Properties

| Improve this Doc View Source

BladeCollisionsEnabeled

Get and set if the collisions of the blades are enabled

Declaration
public bool BladeCollisionsEnabeled { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

RotorSpeed

Get and set the rotor speed (between 0 and 0.2)

Declaration
public float RotorSpeed { get; set; }
Property Value
Type Description
Single

Operators

| Improve this Doc View Source

Explicit(Vehicle to Helicopter)

Declaration
public static explicit operator Helicopter(Vehicle vehicle)
Parameters
Type Name Description
Vehicle vehicle
Returns
Type Description
Helicopter

Extension Methods

ElementExtensions.GetBoundingBox(PhysicalElement)
ElementExtensions.GetDistanceFromCentreOfMassToBaseOfModel(PhysicalElement)
ElementExtensions.GetRadius(PhysicalElement)
ElementExtensions.SetCollidableWith(PhysicalElement, PhysicalElement, Boolean)
ElementExtensions.IsCollidableWith(PhysicalElement, PhysicalElement)
ElementExtensions.IsLocal(PhysicalElement)
ElementExtensions.IsOnScreen(PhysicalElement)
ElementExtensions.SetStreamable(PhysicalElement, Boolean)
ElementExtensions.IsStreamable(PhysicalElement)
ElementExtensions.IsStreamedIn(PhysicalElement)
ElementExtensions.IsSyncer(PhysicalElement)
ElementExtensions.IsWaitingForGroundToLoad(PhysicalElement)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX