Options
All
  • Public
  • Public/Protected
  • All
Menu

ped weapon

Hierarchy

  • Weapon

Index

Constructors

constructor

Properties

Private Readonly components

components: WeaponComponentCollection

Private Readonly hash

Private Readonly owner

owner: Ped

Accessors

Ammo

  • get Ammo(): number
  • set Ammo(count: number): void

AmmoType

CanUseOnParachute

  • get CanUseOnParachute(): boolean

Components

  • get Components(): WeaponComponentCollection

DefaultClipSize

  • get DefaultClipSize(): number

DisplayName

  • get DisplayName(): string

Group

Hash

HudStats

InfiniteAmmo

  • set InfiniteAmmo(toggle: boolean): void

InfiniteAmmoClip

  • set InfiniteAmmoClip(toggle: boolean): void
  • toggle ped infinite ammo clip on all weapons

    Parameters

    • toggle: boolean

    Returns void

IsMk2

  • get IsMk2(): boolean

IsPresent

  • get IsPresent(): boolean

IsUnarmed

  • get IsUnarmed(): boolean

LocalizedName

  • get LocalizedName(): string

MaxAmmo

  • get MaxAmmo(): number

MaxAmmoInClip

  • get MaxAmmoInClip(): number

Model

Tint

Methods

setLivery

Static getDisplayNameFromHash

Static getWeaponComponentHashes

Generated using TypeDoc