Skip to content
Black FridayUp to 40% off
Documentation
Props8New Year Props

r_props_newyear Installation

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

Prerequisites

New Year Props has no dependencies.

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

Installation Steps

Download & Extract

  1. Buy New Year 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_newyear
  • r_props_newyear
    • assets
      • images47 inventory images
        • attach_offsets.luahand offsets
        • esx_items.sqlESX items
        • ox_inventory_items.luaox_inventory items
        • qb_items.luaQBCore items
        • rpemotes.luaemote lines
      • bridge
        • cl_inventory.lua
        • cl_textui.luaprompt style
        • sv_hooks.luawho can be hit
        • sv_items.luausable items
      • client
        • htmlthe sounds, no need to touch
          • server
            • shared
              • config.luaevery setting
            • streamthe models, no need to touch
              • fxmanifest.lua

            Add to server.cfg

            Start it after your framework and inventory:

            ensure r_props_newyear

            Items

            Paste the file for your inventory:

            Paste assets/ox_inventory_items.lua into ox_inventory/data/items.lua. The ten usable items already point at r_props_newyear.useItem.

            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). It has 17 hand props, for example /e nysparkler, /e nyrocket and /e nytinladle. Emotes hold the prop only: lighting and firing work through the items.

            Restart

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

            Server console
            refresh
            ensure r_props_newyear
            Started resource r_props_newyear

            Try it

            Give yourself a ny_thunder, use it, aim at the sky and press the attack key. The fuse burns for about three seconds, then it fires where you look. Press X to put it away before lighting.

            ItemUse
            ny_thunder, ny_thunder_turboLight and fire one shot from the hand
            ny_career_tubeLight and fire 5 shots
            ny_roman_candleLight and fire 8 stars
            ny_magnumLight and throw a banger
            ny_sparklerLight it, hold the attack key to wave, X to throw it away
            ny_party_hornHold the attack key to blow
            ny_popperTwist and fire the confetti cannon
            ny_party_hat, ny_gogglesPut on, use again to take off

            Fireworks, sparklers and confetti cannons are used up when lit or fired. The horn, hat and glasses stay in the inventory.

            Use the models in your own scripts

            Every prop is a normal model: spawn it by name, for example r_ny_cake_finale or r_ny_balloons_2027. All names are on the prop list. Props have collision, so they stand on the ground.

            Updates

            Download the new version from the Cfx.re Portal and replace the folder. Keep your shared/config.lua and bridge/ if you changed them. The console tells you at server start when a new version is out.

            Next Steps