Props8New Year Props
r_props_newyear Common Issues
Fixes for the usual problems with New Year Props.
Using the item does nothing
- ox_inventory: check that the item has
export = 'r_props_newyear.useItem'(it is inassets/ox_inventory_items.lua). Only the ten items in the installation table do something when used. - Qbox, QBCore, ESX: start
r_props_newyearafter your framework inserver.cfg, then restart it. - A player who is dead, downed, cuffed, swimming or in a vehicle can't take a firework out.
The item has no image
Copy assets/images/*.png into your inventory's image folder. The file name is the item name.
Other players don't see a shot or hear it
They must be within R.ViewDistance (350 m by default) and in the same routing bucket.
Fireworks hurt players on my server
Set R.Hit.damage = 0 to keep the knockdown without damage, or R.Hit.enabled = false to make shots harmless.
To spare only players, see the CanHit hook on Exports & Hooks.
Pedestrians run away from the party
Set R.Scare = 0.0.
The sounds are too loud or too quiet
Change R.Volume (0.0 to 1.0). Players' own sound settings apply on top.
A prop shows the old model after an update
Players keep models in their game until they reconnect. Restart the resource and reconnect.