SA-MP Forums Archive
[FilterScript] Fishing System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Fishing System (/showthread.php?tid=568017)



Fishing System - TwinkiDaBoss - 18.03.2015

Introductions

This a simple job made by myself that can be used on any server. Its a Fishing Job. Took me around 2 hours to make the entire thing including the mapping.
I plan to add Shrimping soon which will include boats and so on.



How it works
First of all you need to buy fishing rod from the Pier Shop located at the fishing pier. Once you get the fishing rod you would go to fishing rods on the Pier and start fishing.
Once you type /fish. It will take around 5 seconds to get your fishes.
There are 5 possibly outcomes that can happend.
1. You can catch a moneybag that can give you from 10 to 200$
2. You can catch a different type of fish that can weigh from 1 to 50 kilograms
3. You can sometimes break your fishing rod while fishing so you would have to purchase a new one
4. You can sometimes catch trash while fishing which wont give you anything.


Fish species and price
All species are currently set to same price which can be changed by simply changing #define Fish_Price to any ammount you want. Currently its set to #define Fish_Price 3. I will assign prices to fish species sometimes soon in the future.

Download
Pastebin: http://pastebin.com/1K9uRrXH
How to install

You need to download ZCMD command processor. Created by Zeex. (https://sampforum.blast.hk/showthread.php?tid=91354). Once you get it just make a new pawn file and compile it using the code.
Credits
TwinkiDaBoss for creating this
Zeex for ZCMD

Screenshots
The remapping of one part of the fishing pier. Ive just added some fences, benches and a parking lot.
http://i58.tinypic.com/2mqqa0n.png

Some screenshots where you can see how it works.
http://postimg.org/image/mj13qx5yd/
http://postimg.org/image/69axo0vad/
http://postimg.org/image/e3bj9f339/

Bugs
I havent found any so far. Please report them if you find them

Changelog
V.1.1 Fixed link, removed tester commands from it.



Re: Fishing System - Smileys - 18.03.2015

Nice, I like it!

This is actually much cooler than those unrealistic "press 2 while using boat to fish", and then a random message pops up saying you caught a fish. lol.

Nice job!


Re: Fishing System - TwinkiDaBoss - 19.03.2015

Haha, yeah. I wanted to make something outta it. Im still working on a better payment system to make it bit more balanced. Also working to add up bait system and depending on the bait it will affect the specie you catch.
Ill try to fit it with the Real Life baits so therefore people would have to research in order to make fishing more efficiant


Re: Fishing System - Crayder - 19.03.2015

Did you know that there was an actual fishing animation in 0.3.7? It would top this off.


Re: Fishing System - X337 - 19.03.2015

Good jobe mate


Re: Fishing System - Mya - 19.03.2015

Good job


Re: Fishing System - TwinkiDaBoss - 19.03.2015

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Did you know that there was an actual fishing animation in 0.3.7? It would top this off.
Oh didnt know that, ill look for it and see if I can find it! Thanks!


Re: Fishing System - De4dpOol - 20.03.2015

Good job. +rep


Re: Fishing System - Mokless - 20.03.2015

Good job !


Re: Fishing System - Dawood - 13.06.2015

nice good job but when i compile this zcmd its giving 1 error please help

see this error when i compile its give this GSCNR.pwn(28490) : error 021: symbol already defined: "Streamer_OnPlayerConnect"


Re: Fishing System - Crayder - 14.06.2015

Quote:
Originally Posted by Dawood
View Post
nice good job but when i compile this zcmd its giving 1 error please help

see this error when i compile its give this GSCNR.pwn(28490) : error 021: symbol already defined: "Streamer_OnPlayerConnect"
You're not supposed to copy this script's code to the gamemode. IT'S IN THE FILTERSCRIPT SECTION!

Put the compiled version of THIS script in the filterscripts folder and add it's file name to the filterscripts line of the server.cfg file.


Re: Fishing System - GuyYahood1 - 14.06.2015

Good job man.


Re: Fishing System - Kypros - 14.06.2015

Good job


Re: Fishing System - Pandica - 28.06.2015

Good job.


Respuesta: Fishing System - Miguelch1312 - 18.08.2017

Nice!
I like it, its funny to play with it


Re: Fishing System - ElBart0 - 19.08.2017

Good Job Men!