[RELEASE] Simple Fishing Script with OX Inventory Integration
Description: I’m excited to share a simple yet effective fishing script that I developed for FiveM, fully integrated with OX Inventory. This script allows players to fish at designated spots, catch fish or rare diamonds, and sell them for in-game currency. The script is localized in both English and Finnish, making it accessible to a broader audience.
Features:
- Fishing System: Players can fish within a specified area and have a chance to catch either fish or diamonds.
- OX Inventory Integration: Seamlessly integrated with OX Inventory, ensuring that caught items are added directly to the player’s inventory.
- Localized: The script is available in both English and Finnish, with easy support for additional languages.
- Realistic Fishing Animations: Players will see a realistic fishing animation while waiting for their catch.
- Progress Bar: A progress bar indicates the time remaining while fishing.
- Sell Fish and Diamonds: Players can sell their caught fish and diamonds for in-game currency using a simple command.
Commands:
/fish
- Start fishing at the designated fishing spot./sellfish
- Sell all caught fish and diamonds for money.
How It Works:
- Players need to be within the specified fishing area to start fishing.
- Once the player starts fishing, a progress bar appears, showing the time left.
- After the fishing is complete, the player has a chance to catch either a fish or a diamond.
- The items are added directly to the player’s inventory.
- Players can use the
/sellfish
command to sell all their fish and diamonds for money.
Requirements:
- OX Inventory
- OX Lib for progress bar and notifications
Installation:
- Download the script from Github.
- Add the script to your
resources
folder. - Ensure OX Inventory and OX Lib are installed and running on your server.
- Add
start [shrek_fishing]
to yourserver.cfg
. - Customize the localization or item prices if needed.
Future Updates:
- Adding more fish types.
- Implementing weather-based fishing chances.
- Expanding localization support.
Download: Github
Screenshots/Videos:
Support: Feel free to post any issues or suggestions below, or contact me directly on Discord at [shrekfan2015].
Changelog:
- v1.0.0 - Initial release with basic fishing and selling functionality.
Hope you enjoy the script! Happy fishing!