Skip to content
Documentation
Props3Drinks

r_props_drinks Installation

Install R_Props Drinks: add the resource, paste the items, copy the inventory images and add the emotes.

Prerequisites

R_Props Drinks 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 R_Props Drinks 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_drinks
  • r_props_drinks
    • assets
      • images46 inventory images
        • ox_inventory_items.luaox_inventory items
        • qb_items.luaQBCore items
        • esx_items.sqlESX items
        • rpemotes.luaemote lines
      • streamthe models, no need to touch
        • fxmanifest.lua

      Add to server.cfg

      ensure r_props_drinks

      Items

      Paste the file for your inventory:

      Paste assets/ox_inventory_items.lua into ox_inventory/data/items.lua. Each drink already has its animation, prop and hand position.

      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_drinks
      Started resource r_props_drinks

      Use the props in your own scripts

      Every prop works like a GTA prop. Spawn it by its model name:

      local model = `r_drink_ecola_can`
      RequestModel(model)
      while not HasModelLoaded(model) do Wait(0) end
      local prop = CreateObject(model, coords.x, coords.y, coords.z, true, true, false)
      • The front of every prop faces -Y and the origin is at the bottom centre.
      • Hand props attach to bone 28422. The offsets are in the item and emote files.

      Next Steps