LV Soft FiveM
  • LV SOFT
    • 👋Welcome!
    • 🛒Tebex
    • 💬Discord
  • QB/ESX
    • ☮️lvs-loading
      • Installation
      • Configuration
    • 👫lvs-multichar
      • Installation
      • Configuration
      • Adding Scenes
      • Tebex Integration
      • Commands
    • 🗺️lvs-spawnselector
      • Installation
      • Configuration
    • 🥼lvs-clothing
      • Installation
        • QBCore Install
        • ESX Install
      • Configuration
      • Migration
        • qb-clothing
        • esx-skinchanger
        • Illenium-Appareance
      • Blacklisting
      • Events
      • Commands
    • ⚙️lvs-lib
      • black-screen loading
      • notifications
      • progressbar
      • key-interaction
      • textui
      • alert
      • context menu
      • context input
    • 💬lvs-chat
      • Installation
      • Configuration
      • Events & Exports
    • 📱lvs-radio
      • Installation
      • Configuration
      • Events & Exports
    • 🗃️lvs-playerlist
      • Installation
      • Configuration
    • 📹lvs_weazelnews
      • Installation
      • Configuration
    • 🎒lvs-inventory
      • Installation
      • Configuration
      • lvs-inventory
        • exports
      • lvs-shops
        • Configuration
        • Exports
      • lvs-crafting
    • 🪪lvs-idmanager
      • Installation
      • Configuration
      • Exports
  • Standalone
    • 🚘lvs-drift
      • Installation
      • Configuration
      • Commands
    • 🕺lvs-animations
      • Installation
      • Configuration
      • Adding Animations
      • Exports/Events
    • 💥lvs-accident
      • Installation
      • Configuration
    • 🔥lvs-explosion
      • Installation
      • Configuration
    • 🏎️lvs-racing
  • ESX
    • 📅Soon
Powered by GitBook
On this page
  1. Standalone
  2. lvs-animations

Configuration

Explore and fine-tune your settings effortlessly. Customize your script experience according to your preferences

Configuration File

Config = {}

-- 0 standalone
-- 1 ESX
-- 2 QBCore
-- 3 NEW ESX (USING EXPORT NOT TRIGGER EVENT)
Config.Framework = 2

Config.QBCoreFrameworkResource = 'qb-core' -- if you don't use qb-core skip this point

Config.ESXGetSharedObjectTrigger = 'esx:getSharedObject' -- if you don't use ESX skip this point

-- 0 oxmysql/mysql-async 
-- 1 ghmattimysql
Config.SQLType = 0

Config.UpdateChecker = false

Config.BlurBackground = false -- Blur background

Config.DeadCheck = { -- Disable menu and playing animations while player is dead
    Enable = true,
    UseStateBag = false -- Will use LocalPlayer.state.dead instead of IsPedDeadOrDying(PlayerPedId())
}

Config.OpenMenu = {
    Command = 'openanimation', -- Name of command to open animation menu.
    Keybind = 'F3' -- Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
}

Config.PlayAnimation = {
    ShortCommand = 'a', -- Name of command to play animation
    Command = 'animation', -- Name of command to play animation.
}

Config.CancelAnimation = {
    --CommandToogle = true,
    Command = 'c', -- Name of command to cancel animation
    Keybind = 'X' -- Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
}

Config.DisableInCar = true -- Disable playing all animations in cars

Config.ChangeAnimationSetCommand = 'emoteset' -- It allows players to set their preset set of favorite animations (numbers 1-6)

Config.CombineAnimations = true

Config.QuickAnim = {
    Enabled = true,
    Key1 = '1', -- SHIFT + Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    Key2 = '2', -- SHIFT + Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    Key3 = '3', -- SHIFT + Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    Key4 = '4', -- SHIFT + Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    Key5 = '5' -- SHIFT + Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
}

Config.Saving = {
    WalkStyle = true, -- WalkStyle in Database Saving
    FaceExpression = true -- FaceExpression in Database Saving
}

Config.Pointing = {
    Enabled = true, -- Toogle Pointing
    Keybind = 'B',  -- Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    DisableInCar = true,
}

Config.Crouch = {
    Enabled = true, -- Toogle Crouch
    Key = 36, -- Control Index from https://docs.fivem.net/docs/game-references/controls/
    CanShoot = false, -- Players can shoot crouched? true/false 
    DisableSprint = false, -- Disable sprint while crouched
}

Config.Crawl = {
    Enabled = true, -- Toogle Crawl
    Keybind = 'RCONTROL' -- The default keybind for crawling
}

Config.HandsUp = {
    Enabled = true, -- Toogle HandsUp
    Keybind = 'H' -- Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
}

Config.Ragdoll = {
    Enable = true, -- Toogle Ragdoll
    Keybind = '', -- Input Parameter from https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    DisableWhileDead = true
}

Config.InjuredWalkStyle = {
    Enable = false,  -- Toogle Injured Walk style by Ped HP
    PedHealth = 130, -- Number of Ped HP from native GetEntityHealth (https://docs.fivem.net/natives/?_0xEEF059FAD016D209)
}

Config.AnimEdit = {
    Enable = true,
    CanEditAll = true,
    Command = 'animedit',
    MaxDistance = 1,
    UpKey = 44,
    DownKey = 20, 
    FrontKey = 32,
    BackKey = 33, 
    LeftKey = 34,
    RightKey = 35,
    AcceptKey = 23,
}

-- ** UPDATE 1.4.0

Config.WalkWhileUsing = true

-- ** END OF NEW OPTIONS

-- Weapons that work with aim styles 
Config.WeaponAnimationsAllowed = {
    "WEAPON_PISTOL",
    "WEAPON_COMBATPISTOL",
    "WEAPON_APPISTOL",
    "WEAPON_PISTOL50",
    "WEAPON_SNSPISTOL",
    "WEAPON_HEAVYPISTOL",
    "WEAPON_VINTAGEPISTOL",
    "WEAPON_MARKSMANPISTOL",
    "WEAPON_MACHINEPISTOL",
    "WEAPON_VINTAGEPISTOL",
    "WEAPON_PISTOL_MK2",
    "WEAPON_SNSPISTOL_MK2",
    "WEAPON_FLAREGUN",
    "WEAPON_STUNGUN",
    "WEAPON_REVOLVER",
}

Config.CustomNotifiaction = false
--[[
    -- To use custom notifications, implement client event handler, example:

    AddEventHandler('lvs_animations:notification', function(message)
        print(message)
    end)
]]

Config.CustomHelpNotifiaction = false
--[[
    -- To use custom notifications, implement client event handler, example:

    AddEventHandler('lvs_animations:helpnotification', function(message)
        print(message)
    end)
]]

Config.LVServer = GetConvar('LVServer', '') -- Don't touch
PreviousInstallationNextAdding Animations

Last updated 1 year ago

🕺