This is a fun and simple script for FiveM that allows players to receive snowballs during the Christmas season. It adds a playful touch to your server, enabling players to throw snowballs when the weather is Christmas-themed. The script supports both OX Inventory and QB Inventory, making it compatible with most server setups.
- Snowball Pickup: Players can pick up snowballs when the weather is Christmas-themed (
XMAS). - Animations: Includes a snowball pickup animation for added realism.
- Supports Both Inventories: Compatible with OX Inventory and QB Inventory.
- Customizable Messages: Provides humorous messages if the weather isn't snowy, with language support for English and Hindi.
- Download the script from this repository.
- Add the folder to your
resources/[qb]folder on your FiveM server. - Ensure that the script is started in your
server.cfgby adding the following line:start [dj-snowball]
-
Language: You can set the language for troll messages in the
Config.luafile by changing theLanguagevariable. Options available are:"English""Hindi"
-
Number of Snowballs: The number of snowballs a player gets when they pick one up can be configured in the
Config.luafile:- Modify
Snowballsto change the quantity (default is 2).
- Modify
- Once installed and configured, players can use the
/snowballcommand to check if the weather is Christmas-themed. - If the weather is
XMAS, players will receive snowballs. - If the weather is not snowy, a fun troll message will appear in the chosen language.
/snowball: Players can use this command to pick up a snowball during the Christmas season.
- OX Inventory and QB Inventory are both supported for item management.
- FiveM server running
QBCoreframework. - OX Inventory or QB Inventory (depending on your server setup).
English:
- "Where's the snow? Bring snow first! ❄️😂"
- "No snow and you want a snowball? Dream big! ☃️🤣"
Hindi:
- "Bhai, snow kaha hai? Pehle snow leke aao! ❄️😂"
- "Snow hai nahi aur snowball chahiye? Dream big! ☃️🤣"
