| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A fully automatic New Year’s Eve fireworks show for FiveM — with timed milestones, countdown, sounds, and realistic particle effects.
Can also be triggered manually by admins at any time.
Extract this resource into your resources/ folder
Example:
resources/[yourfolder]/DaFirework
Add it to your server.cfg:
ensure DaFirework(Optional)
If your anti-cheat monitors explosion events, make sure to whitelist this resource.
The script uses client-side sound effects and particle explosions purely for visuals.
No damage or gameplay impact occurs.
All settings are located in config.lua:
| Option | Type | Description |
|---|---|---|
| TurnCityLightsOff | boolean | Turns off city lights during the show |
| FireworksTime | number | How long fireworks last (minutes) |
| DelayPerExplosion | number | Delay between particle bursts (ms) |
| Language | string | "en" or "de" |
| AddExplosionSounds | boolean | Enables or disables random explosion sounds |
| AutoSetNightOnFirework | boolean | Forces night time at firework start |
| AutoSetClearWeather | boolean | Forces clear weather at start |
| FireworkPositions | table | List of firework spawn positions |
| Milestones | table | Chat or notify messages per milestone |
| FireworkConfig | table | Available particle and asset combinations |
| FireworkTypes | table | Defines random radius, height, and scale for each effect |
| Command | Description |
|---|---|
| /firework_start | Manually start the fireworks |
| /firework_stop | Stop the fireworks |
| /firework_countdown [seconds] | Start a countdown and fireworks |
| Event | Side | Description |
|---|---|---|
| DaFirework:start | client | Start fireworks instantly |
| DaFirework:stop | client | Stop fireworks |
| DaFirework:StartCountDown | client | Start countdown UI |
| DaFirework:startFireworkTimer | server | Auto-stops fireworks after Config.FireworksTime |
| DaFirework:startTimed | server | Start fireworks for custom minutes |
| DaFirework:notify / notifyUser | client | Display notifications |
Config.Notify = function(message)
TriggerEvent('esx:showNotification', message)
end| Back | FazBrowse Home | New Git URL |