I can't see my food props with ox_inventory

I don’t know exactly what I’m doing wrong, so I’m here to get some help. None of my food items show the prop that I indicate. This is an example of one of them:

['burger'] = {
    label = 'Burger',
    weight = 220,
    stack = true,
    close = true,
    client = {
        status = { hunger = 200000 },
        anim = { dict = 'mp_player_inteat@burger', clip = 'mp_player_int_eat_burger_fp' },
        prop = {
            model = 'prop_cs_burger_01',
            pos = { x = 0.02, y = 0.02, y = -0.02},
            rot = { x = 0.0, y = 0.0, y = 0.0}
        },
        usetime = 2500,
    }
}

It is literally the same example that comes in the ox_inventory documentation: creatingItems - Ox Inventory

So I understand that I am missing something to show the props.

If you’re player is successfully doing the animation, then its most likely a pos/rot issue you need to fix. There are tools you can use to adjust the position and rotation of props you want your ped to hold.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.