Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
FiveM Fishing script

Description

A NoPixel-style fishing job for ESX. Players rent a boat at the pier below the amusement park, drop anchor at sea, fish with a fishing rod item and sell their catch.

Features

  • Boat rental (suntrap) from an NPC at the Del Perro pier through a qtarget zone, where the boat is also returned
  • Commands /anchor and /pullanchor with a 15-second progress bar; anchoring only works in the sea zone and at low speed
  • Using the fishingrod item while anchored starts fishing; a skill check decides the catch of 1 to 4 fish
  • Fish buyer zone; with the ESX inventory, selling pays the fixed Config.Money amount for all fish carried
  • Adds the items fishingrod and fish through the included SQL file
  • Includes amix-taskbar, a progress bar with the exports taskBar and closeGuiFail
  • Configurable money and deposit amounts in config.lua (Config.Money, Config.DepositMoney)
  • Inventory option Config.Inv (esx or np); with the default value np the author notes that you have to make some changes on the server side
  • Notifications use ESX.ShowNotification by default and can be replaced with your own notify

Requirements

  • ESX (es_extended, loaded through the esx:getSharedObject event)
  • PolyZone, qtarget
  • tgiann-skillbar for the fishing skill check (not included)
  • np-inventory if you keep Config.Inv = "np"

Installation

  • Import amix-fishing/sql.sql into your database.
  • Copy amix-fishing and amix-taskbar into your resources directory.
  • Set Config.Inv = "esx" in config.lua if you use the ESX inventory.
  • Add ensure PolyZone, ensure amix-taskbar and ensure amix-fishing to your server.cfg.

Notes

  • The amounts in config.lua are text values, which breaks the boat deposit check, and the server events do not verify what the client did, so review server.lua before using it on a live server.

Related resources

All resources →