esx_animations

MLO-uri, interioare, hărți optimizate și asset-uri pentru stream.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

esx_animations

Post 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
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Resources”