LC-Development
  • 👋Welcome to HapticCode
  • 📚Library
    • 🖥️Haptic-Lib
      • 🔧 Config
      • 📙 Usage
      • 🤝Client Functions
        • Blips
        • Items
        • Notify
        • Target
        • Peds
      • 💻Server Functions
        • Items
        • Jobs
        • Money Functions
        • Notify
  • 😇Remastered Scripts
    • 🛒 LC-Businesses
      • 🎯Job Blips
      • 💼 Duty Locations
      • ❄️ Fridges
        • Fridge Shops
        • Fridge Stashs
        • Final Step
      • 📥 Trays
      • 🍔 Drink/Fryer/Grill/Pack
      • 📦Shared Employee Stash
      • 📦Private Employee Stash
      • 📦Table Stashs
      • 🪑 Chairs
      • 💃 NPC Dancers/Strippers
      • 🎧 DJ Booths
      • 💰Cash Registers
      • 🧑Custom Animations
      • 🍔Consumables
    • 🏛️LC-Cityhall
      • 📝Config
      • 💳Licenses
  • Haptic
    • 😷 Haptic-Gangs
      • 🔧 Initial Config
      • 📚 Zone Configuration
      • 💊Drug Dealing
        • 💊 Zone Based Dealing
      • 💀Death Tracker
      • 💻Exports
      • 📝 Integrations
        • 🚑 QB-AmbulanceJob
        • 💎 QB-Jewellery
        • 💵 QB-StoreRobbery
        • 💦Rcore Integration
      • 🏗️Common Issues
    • 🔫Haptic-Ammunation
      • 📝Config
    • 💊Haptic-DrugEffects
Powered by GitBook
On this page
  1. Remastered Scripts
  2. 🛒 LC-Businesses

🧑Custom Animations

As you would have noticed throughout the script, you can set custom animations for most actions, even having them unique depending on each individual crafting recipe. This is designed for more advanced users who want to add in props and animations to their tasks to make them more immersive. You can do this in Config.CustomAnimations

-- Only for Advanced Users
Config.CustomAnimations = {
    ["burgershot_drink"] = {prop = "prop_cs_bs_cup", bone = 28422, anim = "static", dict = "amb@code_human_wander_drinking@male@base", loc = vector3(0.0060, 0.0010, 0.0), rotation = vector3(0.00,0.00,-150.00), time = 5000 },
    ["burgershot_milkshake"] = {prop = "brum_cherryshake_raspberry", bone = 28422, anim = "static", dict = "amb@code_human_wander_drinking@male@base", loc = vector3(0.0060, 0.0010, 0.0), rotation = vector3(0.00,0.00,-150.00), time = 5000 },
    ["generic_bbq"] = {prop = "prop_fish_slice_01", bone = 28422, anim = "idle_b", dict = "amb@prop_human_bbq@male@idle_a", loc = vector3(0.00, 0.000, 0.0), rotation = vector3(0.00,0.00,0.00), time = 5000 },
    ["generic_box"] = {prop = "hei_prop_heist_box", bone = 60309, anim = "idle", dict = "anim@heists@box_carry@", loc = vector3(0.025, 0.08,0.255), rotation = vector3(-145.0, 290.0, 0.0), time = 5000 },


    --Consumables
    ["eat_burger"] = {prop = "prop_cs_burger_01", bone = 60309, anim = "mp_player_int_eat_burger", dict = "mp_player_inteat@burger", loc = vec3(0.0, 0.0, -0.02), rotation = vec3(30, 0.0, 0.0), time = 5000 },
    ["drink_burgershot"] = {prop = "prop_cs_bs_cup", bone = 28422, anim = "milkshake_idle_clip", dict = "smo@milkshake_idle", loc = vec3(0.0470,0.0040,-0.0600), rotation = vec3(-88.0263,-25.0367,-27.3898), time = 5000 },

}
Previous💰Cash RegistersNext🍔Consumables

Last updated 1 year ago

😇