Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PedAttribute

Index

Constructors

Properties

attribute: ePedAttribute
handle: number

Accessors

  • get BaseRank(): number
  • set BaseRank(amount: number): void
  • get BonusRank(): number
  • set BonusRank(amount: number): void
  • get MaxRank(): number
  • get Overpowered(): boolean
  • get Points(): number
  • set Points(amount: number): void
  • Gets the amount of attribute points the ped has

    Returns number

  • Gets the amount of attribute points the ped has

    Parameters

    • amount: number

    Returns void

  • get Rank(): number

Methods

  • addPoints(amount: number): void
  • Parameters

    • amount: number

      the amount of points to add to the attribute

    Returns void

  • disableOverpower(): void
  • enableOverpower(amount: number, makeSound?: boolean): void
  • Parameters

    • amount: number

      the amount to overpower this attribute by

    • makeSound: boolean = false

      if activating the overpower should play sound

    Returns void

Generated using TypeDoc