Fishing Script
π Overview
NTeamDev Fishing
is a FiveM script that allows players to:
Catch fish
Clean fish (with XP rewards)
Sell fish
The script is framework-agnostic, meaning it can work with any major framework or inventory system, including:
Frameworks:
ESX (es_extended)
andQB-Core
Inventory systems:
ox_inventory
(recommended), or any custom inventoryTarget systems: Currently
ox_target
(any target system can be implemented)
The script has been fully tested and works correctly for fishing, cleaning (with XP), and selling.
βοΈ Dependencies
The script currently relies on:
ox_lib
ox_target
orany
es_extended
orqb-core
π Fishing Integration with Custom Inventories
If you donβt use ox_inventory
, keep in mind:
The fishing item is pre-registered for
ox_inventory
.For other inventory systems, you must create your own item.
Then, use the provided event to start fishing:
TriggerClientEvent('nteamdev_fishing:client:startFishing', source)
Event name:
nteamdev_fishing:client:startFishing
This event must be triggered for your custom inventory to integrate properly with the fishing system.
β
Features
π£ Fishing system with item collection
βοΈ Fish cleaning with optional XP gain
π° Fish selling system
π Framework flexible β works with ESX or QB-Core
π§ Inventory agnostic β supports ox_inventory and custom inventories
π― Target system ready
Last updated