https://github.com/esx-framework/ESX-Le ... animations

Configuration
Open Menu: F3
Stop Animation: Z
Amimation Layout
ExportsConfig.Animations = {
{
name: string = 'category',
label: string = 'Category',
items = {
{
label: string = "Animation Name",
type: string = "scenario", -- attitude, scenario, anim
data = {
anim: string = "anim_lib",
lib: string = "lib_name" -- Only for types "anim" and "attitude"
}
}
},
}
}
GetConfig
returns the configuration tablelocal animations = exports['esx_animations']:GetConfig()
SetConfig
sets the configuration tableexports['esx_animations']:SetConfig(animations)
Requirements
es_extended
esx_context

