Here's another script I finished developing.
Simple fishing script using polyzones, 4 types of bait, and ox_lib.
This is not a drag and drop resource. You will need to setup the config properly, and add/remove any fish you would like.
1 messages · Page 1 of 1 (latest)
Here's another script I finished developing.
Simple fishing script using polyzones, 4 types of bait, and ox_lib.
This is not a drag and drop resource. You will need to setup the config properly, and add/remove any fish you would like.
Will post a preview video sometime tomorrow for those that would like one.
@dim marsh yes. Each zone is determined as fresh water or salt water.
The config allows you to change what fish is in what water, And you can determine which bait will catch which fish in different water types.
yeah just been messing with it for the last hour ❤️
I’ll be adding new zones later, like illegal fishing zones, running river zones, etc.
If you need help introducing your own zone, I’ll create a tutorial on how to do so. It’s not just a config edit to add new zones.
well i think this is an issue when you have bait on you can not open this again to change bait
Press Y 🙂
It’s registered as a key bind, so it’ll be located in your keybinds settings under FiveM
❤️ this is great btw
Thank you! 🙏🏻
If you have any major additions, feel free to create a PR, and I’ll add them to the repository 🙂
When does it get stuck in your hand?
it just stays there in general, when i want to stop no way of getting out my hands
only with reloadskin
It should be automatically removing it
If you have bait on the hook, and want to put it away, you use the rod again to hide it.
If you catch a fish, and the bait is consumed, it should delete it too.
I’ll look more into it when I’m home from work.
❤️
Be careful using this script, after looking at the code it is very exploitable
That’s server side
And instead of posting in here, create an issue on GitHub.
The reason I posted it here is because I was being nosy, I'm not using this script - I am just warning others. Secondly, being server side is not enough to be 'secure' - clearly your FiveM security knowledge is lacking. These events can still be triggered by anyone and then they can give themselves any item they want.
Show me how to secure it then
Do some research which is the best way to learn, you can start at this thread [https://forum.cfx.re/t/how-hackers-can-exploit-your-servers-and-what-to-do-about-it/702213]
So checking if the player input is a specified list of items, which would be all of the bait, plus all of the different fish, could add some security.
On top of passing data from inside points and if the player has every requirement met client side, then it will pass to server sided add item
@queen trellis check the code now. That should make it a bit more secure
Wrote it on my phone, but I’ll continue updating it when I’m home on my pc.
Preview?
sure give me a few minutes
Alright
@quasi kayak
Okay, but you said you would send a preview video within 5 minutes of that I tagged you to wonder how it went bro.
I said a few minutes. Not 5. And in american, that means a few hours.
if you are that impatient, just download the script and test it out yourself.
I understand, I'm from Sweden. I only read quickly.