vms* store - Docs
Purchase Asset
  • Welcome
  • Official Store
  • Discord
  • Helpful
    • Basic Server Knowledge
      • How to import SQL to database?
      • How to update server artifacts?
    • General Issues
    • Prepared Resources
  • ASSETS
    • vms_notifyV2
      • Installation
      • FAQ
      • Guides
        • Text Formatting
        • Swap in framework
      • Developer API
        • Client Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.js
    • vms_bossmenu
      • Installation
      • Compatibility
      • FAQ
      • Guides
        • Creating job2 on ESX
        • Paychecks Integration
      • Developer API
        • Client Exports
        • Client Events
        • Server Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_cityhall
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • License Revocation
        • Personal Taxes Integration
        • Business Taxes Integration
        • Paychecks Integration
        • Add SSN Generation
        • Generate SSN for Players
        • Add VIN Generation
        • Generate VIN for Vehicles
      • Developer API
        • Client Exports
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.shared.lua
        • config.clerks.lua
        • config.taxes.lua
        • config.js
    • vms_documentsV2
      • Installation
      • FAQ
      • Common Errors
      • Guides
        • Add SSN Generation
        • Generate SSN for Players
        • Creating New Document
        • Driving School Integration
      • Developer API
        • Client Exports
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • metadata.js
    • vms_garagesV2
      • Installation
      • Compatibility
        • Housings
          • qs-housing
          • esx_property
          • bcs_housing
        • Phones
          • yflip-phone
          • qs-smartphone-pro
        • Other
          • VehicleDeformation
          • kq_wheeldamage
      • FAQ
      • Common Errors
      • Guides
        • Interior Stuck Prevention
        • Registering House Garage
      • Developer API
        • Client Exports
        • Server Exports
        • Server Events
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.garages.lua
        • config.management.lua
        • config.parkingcreator.lua
        • config.js
    • vms_houserobberies
      • Installation
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.items.lua
        • config.interiors.lua
        • config.houseslist.lua
        • config.configurator.lua
    • vms_vehicleshopV2
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • Adjusting Required Licenses
        • Adjusting orderprice
        • Photos Tool
      • Developer API
        • Client Exports
        • Client Events
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
        • config.showroom.lua
        • config.js
    • vms_stores
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.camera.lua
        • config.robbery.lua
        • config.storemanage.lua
        • config.js
    • vms_reports
      • Installation
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.js
    • vms_tuning
      • Installation
      • FAQ
      • Common Errors
      • Guides
        • Garage Integration
          • jg-advancedgarages
        • Understanding Prices
        • Using whitelist & blacklist
        • Fix tuning parts names from NULL
        • Paychecks from the built-in balance
      • Developer API
        • Client Exports
        • Server Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.vehicles.lua
        • config.tuningmenu.lua
        • config.installationparts.lua
        • config.custommods.lua
        • config.missions.lua
    • vms_gym
      • Installation
      • FAQ
      • Common Errors
      • Developer API
        • Client Exports
        • Server Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
    • vms_hud
      • Installation
      • FAQ
      • Common Errors
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.js
    • vms_spawnselector
      • Installation
      • Compatibility
        • vms_multichars
        • esx_multicharacter
        • esx_identity
        • qb-multicharacter
      • FAQ
      • Developer API
        • Client Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_guidebook
      • Installation
      • Guides
        • Text Formating
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • pages.js
    • vms_coinshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_vehicleshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_gangmissions
      • Installation
      • Guides
        • Connection to NPCTALK
      • Configuration Files
        • config.lua
    • vms_charcreator
      • Installation
      • Compatibility
        • vms_multichars
        • esx_multicharacter
        • esx_identity
        • qb-multicharacter
        • ZSX_Multicharacter
        • renzu_multicharacter
      • FAQ
      • Developer API
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
    • vms_clothestore
      • Installation
      • Compatibilty
      • Common Errors
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • config.prices.lua
        • config.js
    • vms_multichars
      • Installation
      • Compatibilty
      • Common Errors
      • Developer API
        • Commands
      • Configuration Files
        • config.lua
        • config_client.lua
        • config_server.lua
        • config_commands.lua
    • vms_identity
      • Installation
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
    • vms_barber
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
    • vms_tattooshop
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • New ADD-ON Tattoos
      • Developer API
        • Client Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
        • config.tattoos.lua
    • vms_driveschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_boatschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.routes.lua
    • vms_flightschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.routes.lua
    • vms_documents
      • Installation
      • Guides
        • Adding to radialmenu
        • Usage of documents
        • Adding new documents
      • Configuration Files
        • config.lua
    • vms_anims
      • Installation
      • Guides
        • Adding animations
        • Adding more binds
      • Developer API
        • Client Exports
      • Configuration Files
        • config.lua
        • animations.lua
        • keybinds.lua
    • vms_weaponshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_notify
      • Installation
      • Guides
        • Implementation
        • Replace core notifications
Powered by GitBook
On this page
  • 1. Adding standard animation
  • 2. Adding scenario
  • 3. Adding animation with prop
  • 4. Adding animation with particles
  • 5. Adding animation with prop and particles
  • 6. Adding synced animation

Was this helpful?

  1. ASSETS
  2. vms_anims
  3. Guides

Adding animations

1. Adding standard animation

{
    Category = "other", -- Category of animation
    Label = "Sit chair 2", -- Label displayed
    SubTitle = "/e sitchair2", -- /e command (not required)
    AnimDict = "timetable@ron@ig_5_p3", -- Animation dictionary
    Anim = "ig_5_p3_base", -- Animation
    playerRotate = true, -- not required (Adds the ability to position animations before use)
    ExecuteCommand = "me example command" -- not required
},

2. Adding scenario

{
    Category = "scenarios", -- Category of animation
    Label = "Jog", -- Label displayed
    SubTitle = "/e jog", -- /e command (not required)
    scenario = "WORLD_HUMAN_JOG_STANDING" -- Scenario name
},

3. Adding animation with prop

{
    Category = "objects", -- Category of animation
    Label = "Joint", -- Label displayed
    SubTitle = "/e joint", -- /e command (not required)
    AnimDict = "amb@world_human_smoking@male@male_a@enter", -- Animation dictionary
    Anim = "enter", -- Animation
    props = {
        prop = "p_cs_joint_02", -- Object name
        propBone = 47419, -- Player ped bone index
        propPlacement = {0.015, -0.009, 0.003, 55.0, 0.0, 110.0} -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z
    }
},
{
    Category = "dances", -- Category of animation
    Label = "Dance Glowsticks 3", -- Label displayed
    SubTitle = "/e danceglowstick3", -- /e command (not required)
    AnimDict = "anim@amb@nightclub@lazlow@hi_railing@", -- Animation dictionary
    Anim = "ambclub_09_mi_hi_bellydancer_laz", -- Animation
    props = {
        prop = "ba_prop_battle_glowstick_01", -- Object name
        propBone = 28422, -- Player ped bone index
        propPlacement = {0.07, 0.14, 0.0, -80.0, 20.0, 0.0, 0.0}, -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z
        propTwo = "ba_prop_battle_glowstick_01", -- Object name
        propTwoBone = 28422, -- Player ped bone index
        propTwoPlacement = {0.07, 0.09, 0.0, -120.0, -20.0, 0.0, 0.0} -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z
    }
},

4. Adding animation with particles

{
    Category = "other", -- Category of animation
    Label = "Pee", -- Label displayed
    SubTitle = "/e pee", -- /e command (not required)
    AnimDict = "misscarsteal2peeing", -- Animation dictionary
    Anim = "peeing_loop", -- Animation
    particles = {
        asset = "scr_amb_chop",
        name = "ent_anim_dog_peeing", -- Effect name
        placement = {-0.05, 0.3, 0.0, 0.0, 90.0, 90.0, 1.0}, -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z, scale
        rgb = {1.0, 1.0, 1.0} -- Particle RGB color
    }
},

5. Adding animation with prop and particles

{
    Category = "objects", -- Category of animation
    Label = "Make It Rain", -- Label displayed
    SubTitle = "/e makeitrain", -- /e command (not required)
    AnimDict = "anim@mp_player_intupperraining_cash", -- Animation dictionary
    Anim = "idle_a", -- Animation
    props = {
        prop = "prop_anim_cash_pile_01", -- Object name
        propBone = 60309, -- Player ped bone index
        propPlacement = {0.0, 0.0, 0.0, 180.0, 0.0, 70.0} -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z
    },
    particles = {
        asset = "scr_xs_celebration",
        name = "scr_xs_money_rain", -- Effect name
        placement = {0.0, 0.0, -0.09, -80.0, 0.0, 0.0, 1.0}, -- coord.x, coord.y, coord.z, rotate.x, rotate.y, rotate.z, scale
        rgb = {1.0, 1.0, 1.0} -- Particle RGB color
    }
},

6. Adding synced animation

{
    Category = "synced", -- Category of animation
    Label = "Hug", -- Label displayed
    SubTitle = "/e sharedhug", -- /e command (not required)
    Requester = {
        AnimDict = "mp_ped_interaction", -- Animation dictionary
        Anim = "kisses_guy_a", -- Animation
        Flags = 0 -- Flag of animation
    },
    Accepter = {
        AnimDict = "mp_ped_interaction", -- Animation dictionary
        Anim = "kisses_guy_b", -- Animation
        Flags = 0, -- Flag of animation
        Attach = {9816, 0.05, 1.15, -0.05, 0.0, 0.0, 180.0} -- {bone, position_x, position_y, position_z, rotation_x, rotation_y, rotation_z}
    },
},

Last updated 5 months ago

Was this helpful?