Skip to content
Documentation
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

  1. Buy R_Props Christmas 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_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_christmas

        Items

        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_wreath has its origin at the centre of its back: put it flat against a door or wall.
        • r_xmas_stocking has 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:

        ModelBonePositionRotation
        r_xmas_glogi28422 (right hand)0.0, 0.0, -0.050, 0, 0
        r_xmas_candycane28422 (right hand)0.0, 0.0, -0.060, 0, 90
        r_xmas_gingerbread28422 (right hand)0.0, 0.0, 0.0390, 0, 0
        r_xmas_hat12844 (head)0.075, 0.005, 0.00, 90, 0

        Next Steps