Client

addEntity

Usage

bridge.target.addEntity(entity, data)
  • entity: number

  • data: object

    • hideSquare(optional): boolean

      • default: false

    • checkVisibility(optional): boolean

      • default: true

    • showInVehicle(optional): boolean

      • default: false

    • distance: float

    • squareDistance(optional): float

      • default: 3.0

    • offset(optional): object

      • text: object

        • x: float

          • default: 0.0

        • y: float

          • default: 0.0

        • z: float

          • default: 1.0

      • target: object

        • x: float

          • default: 0.0

        • y: float

          • default: 0.0

        • z: float

          • default: 0.0

    • options: array

      • name: string

      • label: string

      • icon: string

      • onSelect: function

      • key(optional): string

      • duration(optional): number

Example

removeEntity

Usage

  • entity: number

  • option(optional): string

  • invoker(optional): string

Example

Last updated