Vg_fishing - Modified Version of "Advanced fishing"

Hey guys,
my first release and first time using github… sry for any issues ^^

i made this to suit our needs from my community and thought it would be nice to share, as there are some things that might be useful for others too.

vg_fishing is a modified Version of Advanced fishing originally made by Kuzkay.
Link: [Release] Advanced fishing
His permission was given.

Also i used code of Thaisen69 AnchorBoat Script https://github.com/Thaisen69/AnchorBoat

And of course the great Script InteractSound from Scott: [Release] Play Custom Sounds for Interactions

and NativeUI: [Release][Dev] NativeUILua


Biggest difference:

  • sounds
  • uses NativeUI for the shopsystem instead of esx_shops, but still uses esx for fishing and items to be compatible with esx
  • knife has to be bought in order to be allowed to process fish and use/sell it
  • no visible mapmarkers for illegal stuff (shark and turtle sellpoints)
  • boat has anchor
  • no boat rent avaible, as in our community we decided that you should use your bought boat, so it has a purpose
  • other markers
    …and some other small things.

Also i made fish eatable on our server, you should do that too.
There are still some issues like translation (some is german, some is in english) but it works so far.

Github:
https://github.com/lyrics1988123/vg_fishing

Screenshot of the Menu:

1 Like

do you have any screen shots or demo vids ??

as this is a modified version, take a look on the original for media stuff. Visually nothing big has been changed:

sweet will give it ago… keep up the great work

1 Like
INSERT INTO `items` (`name`, `label`, `limit`, `rare`, `can_remove`) VALUES ('fishingknife', 'Couteau de pêche', 2, 0, 1) 

missing this entry to the databse…
thx

sound doesnt work… i have interact sound… did i miss something?

Bugs fixed:

  • sql file was missing entry for the fishingknife, you could add it manually to your db, but if you dont want to, remove the rest of the entries in the sql file before you import it again otherwise you could have duplicate items.
  • menu does now show the price of the items
  • items now cost money (didnt work before)
  • made the area a bit tighter, so you dont have to drive that far away of the coast

sound should work if you did the interactsound part right.
copy the files in the correct folder of interactsound and add it to resource there, like any other sounds.

Can someone show me how the process looks like?

can explain me how to use NativeUI.

yes i did everything… sorry ill look everything again… thx

my bad…

this is awesome

update avaible on github

No way, i cant make NativeUI work. :confused: tried everything…

For some reason nothing happends when i am in a green circle (?).

install nativeUi my dude!

I did…

add item to the database…

The problem is in NativeUI i think… i miss smthing :confused:

keep in mind to start nativeui before the fishingscript

Finally I just made it work!

Now the problem is when u dont have cash and buy then money gets negative …

Does someone tell me how to fix it?

I know it’s something like in this line; RegisterServerEvent (‘vg_fishing: addItem’)

and you would have to add this
if xPlayer.getMoney ()> = price then

But I do not know very well how to add it .