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
- Buy New Year Props 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_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_newyearItems
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:
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.
| Item | Use |
|---|---|
ny_thunder, ny_thunder_turbo | Light and fire one shot from the hand |
ny_career_tube | Light and fire 5 shots |
ny_roman_candle | Light and fire 8 stars |
ny_magnum | Light and throw a banger |
ny_sparkler | Light it, hold the attack key to wave, X to throw it away |
ny_party_horn | Hold the attack key to blow |
ny_popper | Twist and fire the confetti cannon |
ny_party_hat, ny_goggles | Put 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.