Skip to content
Black FridayUp to 40% off
Documentation
Props8Heist Props

r_props_heist Installation

Install Heist Props: add the resource, paste the items, copy the inventory images and add the emotes.

Prerequisites

Heist Props has no dependencies.

  • Optional: ox_inventory, qb-core or es_extended for the items
  • Optional: rpemotes or dpemotes for the emotes

Installation Steps

Download & Extract

  1. Buy Heist Props on r-scripts.net
  2. Download it from your Cfx.re Portal
  3. Extract the folder into your server's resources directory
  4. Keep the folder name r_props_heist
  • r_props_heist
    • assets
      • images37 inventory images
        • attach_offsets.luahand offsets
        • esx_items.sqlESX items
        • ox_inventory_items.luaox_inventory items
        • qb_items.luaQBCore items
        • rpemotes.luaemote lines
      • serverversion check, no need to touch
        • streamthe models, no need to touch
          • fxmanifest.lua

        Add to server.cfg

        ensure r_props_heist

        Items

        Paste the file for your inventory:

        Paste assets/ox_inventory_items.lua into ox_inventory/data/items.lua. Every item that has a hand position carries it in its prop line.

        Then copy assets/images/*.png into your inventory's image folder.

        Emotes (optional)

        Paste assets/rpemotes.lua into the PropEmotes table of rpemotes (client/AnimationList.lua). dpemotes uses the same format.

        Restart

        Restart your server, or run this in the server console:

        Server console
        refresh
        ensure r_props_heist
        Started resource r_props_heist

        Items you may already have

        Some items use common names: thermal_charge, power_drill, angle_grinder, bolt_cutter, lockpick, glass_cutter, c4, hacking_device, blowtorch, burner_phone, gold_bar, painting, diamond, pink_diamond, luxury_watch, ruby_necklace, diamond_ring and faberge_egg. If your server already has one of them, keep your own entry and skip ours, or keep ours to get the new image and hand position. The other items start with heist_, so they never clash.

        Use the props in your own scripts

        Every prop works like any game prop. Spawn it by its model name, or place it with any prop placement script:

        local model = `r_heist_goldstack`
        RequestModel(model)
        while not HasModelLoaded(model) do Wait(0) end
        local prop = CreateObject(model, coords.x, coords.y, coords.z, true, true, false)
        • Every prop stands on its origin, so it sits on the ground or a table at the height you give it.
        • Swap r_heist_bust for r_heist_bustempty when the necklace is taken.

        Hand props

        assets/attach_offsets.lua has the tested hand position and animation of every hand prop, for example:

        r_heist_goldbar = { bone = 57005, pos = vec3(0.1660, 0.0058, -0.0973), rot = vec3(21.6, 51.6, -0.4), dict = 'amb@world_human_drinking@coffee@male@base', clip = 'base' },

        Attach it with AttachEntityToEntity to bone 57005 (right hand) and play the animation with flag 49. In ox_inventory the same values are in each item's prop line: add usetime and anim to the item when you want the prop to show while the item is used.

        Next Steps