Props3Christmas Props
r_props_christmas Installation
Install R_Props Christmas: add the resource, paste the items, copy the inventory images and add the emotes.
Prerequisites
R_Props Christmas 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 Christmas 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_christmas
r_props_christmas
assets
images28 inventory images
- ox_inventory_items.luaox_inventory items
- qb_items.luaQBCore items
- esx_items.sqlESX items
- rpemotes.luaemote lines
- attach_offsets.luahand and head offsets
serverversion check, no need to touch
streamthe models, no need to touch
- fxmanifest.lua
Add to server.cfg
ensure r_props_christmasItems
Paste the file for your inventory:
Paste assets/ox_inventory_items.lua into ox_inventory/data/items.lua.
Mulled wine, candy cane and gingerbread already have their 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_christmas
Started resource r_props_christmas
Use the props in your own scripts
Every prop works like a GTA prop. Spawn it by its model name, or place it with any prop placement script:
local model = `r_xmas_tree_classic`
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local prop = CreateObject(model, coords.x, coords.y, coords.z, true, true, false)- Ground props stand on their origin. Props with a front (stall, gnomes, snowman, calendar, reindeer) face +Y.
r_xmas_wreathhas its origin at the centre of its back: put it flat against a door or wall.r_xmas_stockinghas its origin at the hanging loop.- The items do not place the decorations by themselves: connect them to your own placement script.
Hand and head props
assets/attach_offsets.lua has the tested offsets:
| Model | Bone | Position | Rotation |
|---|---|---|---|
r_xmas_glogi | 28422 (right hand) | 0.0, 0.0, -0.05 | 0, 0, 0 |
r_xmas_candycane | 28422 (right hand) | 0.0, 0.0, -0.06 | 0, 0, 90 |
r_xmas_gingerbread | 28422 (right hand) | 0.0, 0.0, 0.03 | 90, 0, 0 |
r_xmas_hat | 12844 (head) | 0.075, 0.005, 0.0 | 0, 90, 0 |