Lib.playAnim

It is used to start an animation with specified options

Lib.playAnim(...)
  • entity: ped

  • options: table

    • dict: string

    • anim: string

    • blendIn: number or nil

      • default: 3.0

    • blendOut: number or nil

      • default: 3.0

    • duration: number or nil

      • default: -1

    • flag: number or nil

      • default: 49

    • playbackRate: number or nil

      • default: 0

    • lockX: boolean or nil

      • default: false

    • lockY: boolean or nil

      • default: false

    • lockZ: boolean or nil

      • default: false

Last updated