I need example for a script which stores and retrieves data.
I would like it to do something like this:
So. A player goes near water-tile, player presses F4 to fish.
Every time player presses F4, player catches a fish, with maximum amount of 5 fish in players "bag".
Then, players goes near a shopcounter and presses F4 again.
Player sells all the current fishes he has in hes "bag" at this point, 1.
Player sells them for 1000$/fish and gets total 1000$ at this point.
So, how to make script like this, which stores certain data, and can retrieve it and give for example certain amount of money of certain data stored (fishes)?
Thanks you!
P.S Is it against rules to make new account here, if I totally stop using this one?