Features
Exports
Server Exports

Server Exports

Get Animations

-- return: table - returns formatted animations
 
local config = exports["bablo-animations"]:getAnimations()

Play Animation

-- source: number - The player source that will play the animation
-- animationName: string - name of the animation
 
exports["bablo-animations"]:playAnimation(source, animationName)

Cancel Animation

-- source: number - The player source is used to trigger the cancel animation
 
exports["bablo-animations"]:cancelAnimation(source)

Get Animation

-- animationName: string - name of the animation
-- return: table - returns animationData from config
 
exports["bablo-animations"]:getAnimation(animationName)