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
Last updated