Page 1 of 1

esx_animations

Posted: Thu Feb 26, 2026 6:45 pm
by greenie
This is a simple, lightweight script that allows players to perform animations in FiveM.

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

Image

Configuration
Open Menu: F3

Stop Animation: Z

Amimation Layout
Config.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"
}
}
},
}
}
Exports
GetConfig
local animations = exports['esx_animations']:GetConfig()
returns the configuration table
SetConfig
exports['esx_animations']:SetConfig(animations)
sets the configuration table

Requirements
es_extended
esx_context