Badger Docs
  • Welcome to Badger Docs
  • Badger's Website
  • Badger's Discord
  • 20% off hosting | Use Code: TheWolfBadger-4765
  • Fivem General Help
    • Updating Server Binaries
    • ACE Permissions
    • Getting Discord Role IDs
    • Setting up a Discord Webhook
    • Discord identifier not found
    • How to set up a Git Repository for my server
  • Fivem Discord Scripts
    • Introduction
    • BadgerTools
    • DiscordChatRoles
    • DiscordAcePerms
    • DiscordPedPerms
    • DiscordWeaponPerms
    • DiscordVehiclesRestrict
    • DiscordTagIDs
    • PoliceEMSActivity
    • BadgerCopChat
    • DiscordDonatorPerks
    • Badger-911
    • Bad-Scoreboard
    • Bad-DiscordQueue
    • Badger_Discord_API
      • Installation
      • GetRoleIdFromRoleName
      • CheckEqual
      • IsDiscordEmailVerified
      • GetDiscordEmail
      • GetDiscordName
      • GetDiscordAvatar
      • GetDiscordNickname
      • GetDiscordRoles
      • GetGuildIcon
      • GetGuildSplash
      • GetGuildName
      • GetGuildDescription
      • GetGuildMemberCount
      • GetGuildOnlineMemberCount
      • GetGuildRoleList
    • DiscordVehicleRestrictions
  • Fivem Misc. Scripts
    • Introduction
    • BadgerAnims
    • BadgerBankRobbery
    • VehicleTrustSystem
    • PedTrustSystem
    • BadgerVoting
    • BadgerTracer
    • Fivem Keybase Anticheat
    • DiscordReports
    • Badger-Priorities
    • Badssentials
    • BadgerStockMarket
    • Badger-Anticheat
    • Badger_Jailing
    • BadgerFires
    • Multiverse-World-Manager
  • Badger Software
    • Introduction
    • FivemDiscordPerms
    • BadgerTrustSystem+
    • BadgerStaffPanel
    • ResourceEventScrambler
    • CollectiveBot
  • Archived Projects
  • SimpleRoleBot
  • EssentialBot
Powered by GitBook
On this page

Was this helpful?

  1. Fivem Misc. Scripts

BadgerAnims

PreviousIntroductionNextBadgerBankRobbery

Last updated 4 years ago

Was this helpful?

Version 1.0

This is basically just a script I threw together for my server with a bunch of useful walking styles, animations, and features.

One of the features is if a player is at 50% or less health that they then are set to the walking style limping automatically and will continue to walk like that until they are not under 50% health.

Badger's Discord Community

Note

For the lockpicking feature to work, you must have this script installed properly as well --->

All of the features in this script can be toggled on/off via the config section within the client.lua file.

Config

--- Config ---

-- Locks for vehicles
enableLockpick = true
enableLock = true
enableUnlock = true
lockpickingCarStr = "Breaking into car"
lockpickingCopCarStr = "Breaking into cop car"
lockpickingCarTime = 10 -- Seconds
lockpickingCopCarTime = 40 -- Seconds
copCars = {
"chgr",
"police",
"police2",
"police3",
"police4",
"police7",
"police8",
"police9",
"police10",
"fbi",
"fbi2",
"unmarked1",
"unmarked2",
"unmarked3",
"unmarked4",
"unmarked5",
"unmarked6",
"unmarked7",
"unmarked8",
"unmarked9",
"silv",
"sheriff2",
"sheriff",
"hwayf150",
"ambulance",
"firetruk",
"pbus",
}

-- Misc
enableHealthInjured = true

-- Walk Styles
enableDrunk = true
enableHiking = true
enableInjured = true
enableMuscleWalk = true

Features

/drunk - Toggles your ped's walking style between drunk and sober.

/injured - Toggles your ped's walking style between limping and regular.

/hiking - Toggles your ped's walking style between hiking and regular.

/musclewalk - Toggles your ped's walking style between musclewalk and regular.

/lock - Locks the vehicle you are sitting in.

/unlock - Unlocks the vehicle you had previously locked with /lock.

/lockpick - Breaks into the closest vehicle to you.

Screenshots

Hiking:

MuscleWalk:

Drunk:

Injured:

Lockpicking:

Download

BadgerAnims
https://forum.cfx.re/t/dev-resource-mythic-progress-bar/527607
Developer Discord