Hi Everyone,
I hope youre doing well, today we will look at nice FiveM esx script,
which can help you relax and chill with friends or alone (you can
also earn some money).
We will go fisching. 😉
[Release] Advanced fishing
https://forum.cfx.re/t/release-advanced-fishing/277267
If you need FiveM Gameserver with one click installation check this:
https://zap-hosting.com/rpscripts
20% discount if you want: denmak-a-6883
If you need some general Fivem help, you can take a look at this Discord server:
https://discord.gg/Bdk3QHX
Description:
This script adds a lot of new stuff as listed below:
Boat rentals
Fishing
Selling points
Theres plenty of new items that will be added after you run the sql file:
Fish
Fish Bait
Fishing Rod
Shark
Sea Turtle
Turtle Bait
Players can fish for normal Fish, Turtles or Sharks
Turtles and Sharks are illegal to be fished for (also give Dirty Money when sold)
Players first buy their fishing rod and bait then they go to an boat rental to rent a boat
after that they go away from the shoreline and get up from the boat drivers seat and press [USE] on the bait that they want to use, after they apply the bait they can press [USE] on the fishing rod
that will make them start fishing. While fishing they’ll get an notification to press an button 1-8 on their keyboard if they press the correct one they’ll catch the fish if they press wrong one the fish breaks lose
(its also on time)
Players that are fishing without using any bait before pressing [USE] on the rod will be able to catch fish but that fish will be smaller (less fish item per a catch 1-3kg)
If they use bait the fish they get will be bigger
If player uses Turtle Bait they will be able to catch a turtle (not 100% chance)
after they catch a turtle they can go sell it or press [USE] on the turtle to “cut it and put its meat on the rod as a bait for sharks” by doing that they’ll now be able to catch a shark which when
caught acually spawn a shark ped on players boat (if they use a small boat for sharks it might sink which makes it fun xD)
To be able to add something to your store you need to add items to
your items table first (“database items.sql” file). If you have other esx version with weight just replace
corresponding fields. Then you can add items to the store, depending on
which resource for stores are you using (shops/ owned_shops table or
directly in the script like 99k_shops). You can also rename label to get
items in language you need.
config.lua
Here you can:
- set cooldown time between catching a fish (min and max)
- set selling price for fish, turtle and shark (turtle and shark will give you a dirty money)
- set locations for selling fish/ turtle/ shark
- set positions for boat rentals
client.lua
Here you can:
- set blip parameters
- set keys for fishing minigame (1-8 and x for stopping fishing)
- set distance from shore to start fishing
- set time for fish to get free
- set boat rental menu elements and parameters (text and price)
Also if you work for police you can rent police boat for free there. - and a lot of messages could be replaced here
server.lua
what happens/what you can do here:
- items registration
- function/event which generates a random number (1-100) (rmd variable) so depending on that and a bite (or none) you will caught something, broke rod or another random number will be generated to decide how much kg of fish will you get (to adjust that it would be a weight variable (min,max values))
- another bunch of texts which could be adjusted
Installation
Download resource
put esx_AdvancedFishing in resources folder on the server
Add start esx_AdvancedFishing to your server.cfg
execute “database items.sql” file
(re)start your server
Enjoy!