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
- Buy R_Props Drinks on r-scripts.net
- Download it from your Cfx.re Portal
- Extract the folder into your server's
resourcesdirectory - 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_drinksItems
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.