Client Exports

Get Animations

-- return: table - returns formatted animations

local config = exports["br-animations"]:getAnimations()

Reset Clipset/Walkingstyle

exports["br-animations"]:resetClipset()

Open Menu

exports["br-animations"]:openApp()

Play Animation

-- ped: number - The ped thats going to play the anim
-- animationName: string - name of the animation

exports["br-animations"]:playAnimation(ped, animationName)

Cancel Animation

exports["br-animations"]:cancelAnimation()

Get Animation

-- animationName: string - name of the animation
-- return: table - returns animationData from config

exports["br-animations"]:getAnimation(animationName)

Last updated