Class FireWeaponHelper
One shot message apply a force to the hand as we fire the gun that should be in this hand.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class FireWeaponHelper : CustomHelper
Constructors
Name | Description |
---|---|
FireWeaponHelper(Ped) | Creates a new Instance of the FireWeaponHelper for sending a FireWeapon Message to a given Ped. |
Properties
Name | Description |
---|---|
ApplyFireGunForceAtClavicle | Should we apply some of the force at the shoulder. Force double handed weapons (Ak47 etc). |
Direction | Direction of impulse in gun frame. |
FiredWeaponStrength | The force of the gun. |
GunHandEnum | Which hand is the gun in. |
InhibitTime | Minimum time before next fire impulse. |
Split | Split force between hand and clavicle when applyFireGunForceAtClavicle is true. 1 = all hand, 0 = all clavicle. |