Pre Install Ox Inventory

Ox Inventory

  1. Install Ox Inventory to your resource folder

  2. Locate Ox Inventory folder ox_inventory\data\animations.lua

return {
    anim = {
        ['eating'] = { 
            dict = 'mp_player_inteat@burger', 
            clip = 'mp_player_int_eat_burger_fp' 
        },
        --[[['fork'] = { 
            dict = 'anim@eat@fork', 
            clip = 'fork_clip' 
        },]] --only use this if you have Bzzz Props 
        ['alca'] = { 
            dict = 'anim@eat@fork', 
            clip = 'fork_clip' 
        },
        ['drink'] = { 
            dict = 'amb@world_human_drinking@coffee@male@idle_a', 
            clip = 'idle_c' 
        },
        ['drink2'] = { 
            dict = 'mp_player_intdrink', 
            clip = 'loop' 
        },

    },
    prop = {
        ['burger'] = { 
            model = `prop_cs_burger_01`, 
            pos = vec3(0.02, 0.02, -0.02), 
            rot = vec3(0.0, 0.0, 0.0) 
        },
        ['forks'] = {
            model = 'alcaprop_fork',
            bone = 57005,
            pos = vec3(0.14, 0.02, 0.01),
            rot = vec3(-118.0, 192.0, 24.0)
        }
    }
}

Animation Eat with Fork

You'll need to have this installed, via resource folder inorder for the eating process to fully work or you will get a error that looks like this @ox_lib/requestAnimDict/clinet.lua:13: attempted to load invalid animDict 'anim@eat@fork'

Last updated