esx_animations
This is a simple, lightweight script that allows players to perform animations in FiveM. <br />
Github Link <br /> <img src="https://r2.fivemanage.com/SVPyt7tsQi4njkYd2eKX6/Screenshot2024-11-15173845.png" />
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
-