Hierarchy

Constructors

Properties

handle: number
type: ClassTypes = ClassTypes.Vehicle

Accessors

  • get AttachedTo(): EntityType
  • Returns EntityType

  • get IsNoLongerNeeded(): boolean
  • Returns boolean

  • get PopulationType(): PopulationType
  • Returns PopulationType

  • get RoutingBucket(): number
  • Returns number

  • get Script(): string
  • Returns

    The script that made the entity

    Returns string

  • get State(): StateBagInterface
  • Returns StateBagInterface

  • get TrainCarriageEngine(): number
  • This might supposed to be TrainEngineHealth?

    Returns number

  • get Velocity(): Vector3
  • Returns

    the entitys velocity, if the entity is a ped it will return Vector3(0, 0, 0)

    Returns Vector3

Methods

  • Parameters

    • extraId: number

    Returns boolean

  • Parameters

    • wheelId: number
    • completely: boolean

    Returns boolean

Generated using TypeDoc