For Qb Core
[‘weapon_xmasballs’] = {[‘name’] = ‘weapon_xmasballs’, [‘label’] = ‘Xmas Balls’, [‘weight’] = 1000, [‘type’] = ‘weapon’, [‘ammotype’] = nil, [‘image’] = ‘weapon_xmasballs.png’, [‘unique’] = true, [‘useable’] = false, [‘description’] = ‘Xmas Balls’},
WEAPON_XMASBALLS
Overview
The WEAPON_XMASBALLS is a fun, festive addition to GTA5-based games like FiveM. Crafted with care by LaryGaryMods, this unique snowball-shooting weapon brings extra joy to snowy or Christmas-themed settings in the game.
Features
❄️ Weather-Dependent Reloading: Reloads with snowballs only during XMAS weather conditions.
🔔 Reload Notification: A festive alert prompts players to reload when conditions are right.
⛄ Snow Animation: Enjoy a special snowball pickup animation during reloading.
🎯 Ammunition Management: Easy ammo addition post-animation for uninterrupted fun.
Script Details
Main Thread
Regularly checks if the player has the WEAPON_XMASBALLS.
Displays a reload prompt under XMAS weather.
Pressing E triggers an animation and adds ammo to the weapon.
Functions
ShowNotification(text): Pops up a custom in-game notification.
PlaySnowballPickupAnimation(playerPed, callback): Executes a snowball pickup animation, and a callback can be triggered post-animation.
Usage Notes
The weapon is fully functional only in XMAS weather.
Integration
To add WEAPON_XMASBALLS to your FiveM server:
Add this script to your server resources.
Start the script after loading all dependencies.
Ensure XMAS weather settings are active.
Disclaimer
LaryGaryMods is not affiliated with Rockstar Games or the FiveM platform. This is an independent mod and has no connection with the official entities.
Support
For help or bug reporting, reach out to LaryGaryMods directly.
Make your GTA5 winter experience more colorful and fun with WEAPON_XMASBALLS!
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 546 |
| Requirements | No|
| Support | Yes |
Packages delivered using FiveM asset escrow