Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 community.

Script FIVEM Fishing Script

ARaros

Her zaman bir adım önde!
Gold Elite
Joined
Jun 29, 2021
Messages
184
Reaction score
152
Points
206
Location
USA/Los Angeles
Like most fishing jobs out there, I don't like people who have to have a certain job to do something to make money on the side, I've created a fishing scenario that allows your players to fish anywhere, any job, and any way they want. (legal and illegal)

This script adds many new things as listed below:

boat rental
Fishing
selling points
There are many new items to be added after running the sql file:

The fish
fish food
Fishing rod
Shark
sea turtle
Turtle Food
You'll need to add the Bait and Fishing Rods to your stores yourself, which is pretty easy.

Players can fish for normal Fish, Turtles or Sharks
and Hunting for Sharks is illegal (plus Dirty Coins when sold)

Players first buy their fishing rods and bait,
then to charter a boat
They go, then they get up from the boat driver's seat, away from the shoreline, and press the [USE] button for the bait they want to use. they apply the bait to the fishing rod that they can press the [USE] key. this will get them to start fishing. While fishing, they will get a notification to press a key 1-8 on their keyboard if they hit the right key, if they hit wrong they will catch the fish, if the fish snap they lose (which is on time)

Players who fish without bait before pressing [USE] the stick will be able to catch fish, but this fish will be smaller (less fish items per 1-3 kg of catch)

If they use bait, the fish they get will be bigger.

If the player uses the Turtle Oath, after catching a turtle,
then they can catch the turtle (not 100% chance), sell it, or press the [USE] key to "cut off the turtle and put its meat on the stick. bait for sharks" by doing this they will now be able to catch a shark and when caught they will spawn a shark pad on the players' boat (sharks If they use a small boat for the boat, it might sink, which makes it fun)

I use this script on my server and good :)


Link:

VT:
1625062806172.png
 

nomes15

Member
Joined
May 28, 2021
Messages
2
Reaction score
1
Points
86
Do you know how to change from Input to Button? Cause inventory using hotkey 12345 and because of that i can't press any number of input to catch the fish.
 

ARaros

Her zaman bir adım önde!
Gold Elite
Joined
Jun 29, 2021
Messages
184
Reaction score
152
Points
206
Location
USA/Los Angeles
Do you know how to change from Input to Button? Cause inventory using hotkey 12345 and because of that i can't press any number of input to catch the fish.
I guess if you can take a look at the config.lua and _resource.lua files in the script and find the button [E] command there, you can assign e to a different key.
 

nomes15

Member
Joined
May 28, 2021
Messages
2
Reaction score
1
Points
86
I guess if you can take a look at the config.lua and _resource.lua files in the script and find the button [E] command there, you can assign e to a different key.
Citizen.CreateThread(function()
while true do
Wait(5)
if fishing then
if IsControlJustReleased(0, Keys['1']) then
input = 1
end
if IsControlJustReleased(0, Keys['2']) then
input = 2
end
if IsControlJustReleased(0, Keys['3']) then
input = 3
end
if IsControlJustReleased(0, Keys['4']) then
input = 4
end
if IsControlJustReleased(0, Keys['5']) then
input = 5
end
if IsControlJustReleased(0, Keys['6']) then
input = 6
end
if IsControlJustReleased(0, Keys['7']) then
input = 7
end
if IsControlJustReleased(0, Keys['8']) then
input = 8
end

Do you have any idea to change all of numbers to keyword like W,A,S,D,F,G,H,J... ? I tried to replace Keys[] and input is not working
 

ARaros

Her zaman bir adım önde!
Gold Elite
Joined
Jun 29, 2021
Messages
184
Reaction score
152
Points
206
Location
USA/Los Angeles
Citizen.CreateThread(function()
while true do
Wait(5)
if fishing then
if IsControlJustReleased(0, Keys['1']) then
input = 1
end
if IsControlJustReleased(0, Keys['2']) then
input = 2
end
if IsControlJustReleased(0, Keys['3']) then
input = 3
end
if IsControlJustReleased(0, Keys['4']) then
input = 4
end
if IsControlJustReleased(0, Keys['5']) then
input = 5
end
if IsControlJustReleased(0, Keys['6']) then
input = 6
end
if IsControlJustReleased(0, Keys['7']) then
input = 7
end
if IsControlJustReleased(0, Keys['8']) then
input = 8
end

Do you have any idea to change all of numbers to keyword like W,A,S,D,F,G,H,J... ? I tried to replace Keys[] and input is not working
I have no idea, unfortunately the script is not mine and I shared all I know in my previous post. I'm so sorry I can't help
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds