yRealisticBank - Advanced bank system (economic ) -
Youice - 12.11.2015
((Solved the issue of wasting PlayerTextdraws))
yRealisticBank
Introduction
That's a real banking system were basic economic principles are applied to.
That's short isn't it?
What makes this FS special?
People have the right to ask themselves, why to choose yRealisticBank system than any other bank system FS ?
I say, this script has more than withdrawing, depositing or checking the balance options. It has loan systems and many options for a repayment and you can also check the server interest rate at the bank at any time or even receive benefits from depositing money.
Pointed Features
- Loan system
- Collect interest on deposits (every some time)
- Saving options (whether current/saving a/c)
- Every week, there's a new event
- Interest rates depend on that weekly incident
- Government Interventions(script it-self)
- And more
To shorten this, Let me take you to a tour!Just watch and enjoy : )
[ame]http://www.youtube.com/watch?v=09j7PFUGobw[/ame]
Tips & Hints
use this function to implement new bank areas(coordinates) (where the commands are used)
PHP код:
IsPlayerAtBank(playerid)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 2315.952880, -1.618174, 26.742187))
{
return 1;
}
}
return 0;
}
Only
/bank for everything, pretty simple, isn't it?
And make sure you're at the right coordinates. For the default place, it is the normal bank interior.
Requirements
These folders
must be added to the "scriptfiles" folder:
(a) Accounts
(b) yServerSetup
zcmd by Zeex
sscanf Topic by Emmet_
y_ini by ******
Download
yRealisticBank(2) - by Youice.
For older posts:
vehicle's lasers
Y_Command Creator
car dealership(video)
Thank you.
Re: yRealisticBank - Advanced bank system (economic ) -
Pottus - 12.11.2015
Just like the other dude you don't know how to use textdraws correctly you are using player textdraws for static global textdraws a waste of code and a waster of player textdraws.
Re: yRealisticBank - Advanced bank system (economic ) -
Youice - 12.11.2015
Quote:
Originally Posted by Pottus
Just like the other dude you don't know how to use textdraws correctly you are using player textdraws for static global textdraws a waste of code and a waster of player textdraws.
|
IDK what to tell you rather than thank you. You left everything and concentrated on something -vely. I'll probably study the issue though I'm following sa-mp wiki instructions and that's why me and the other "dude" have this fault. You got another resource?
Next time maybe I'll take car.
Re: yRealisticBank - Advanced bank system (economic ) -
TH3_R3D™ - 12.11.2015
Nice!!, That what I was looking for !
Re: yRealisticBank - Advanced bank system (economic ) -
SecretBoss - 12.11.2015
Great work, you saved me a lot of time
Re: yRealisticBank - Advanced bank system (economic ) -
Pottus - 12.11.2015
Well you see there is 256 player textdraws these are for when you actually have a need for a player array. For most textdraws they are never going to change and can be used more than once and only need to be created once. So you end up wasting lots of those textdraw slots by over using them when the global textdraw pool is 2048 textdraws so every player textdraw you can save goes a long way.
Re: yRealisticBank - Advanced bank system (economic ) -
SecretBoss - 12.11.2015
Quote:
Originally Posted by Pottus
Well you see there is 256 player textdraws these are for when you actually have a need for a player array. For most textdraws they are never going to change and can be used more than once and only need to be created once. So you end up wasting lots of those textdraw slots by over using them when the global textdraw pool is 2048 textdraws so every player textdraw you can save goes a long way.
|
As I am checking the code, Pottus is right, you are supposed to use player textdraws when you want to put some information for player to textdraw for example if you wanted to make a textdraw with player's total deposit money you should use player textdraw in this case you must use global ones, some of your textdraws are supposed to be player textdraw but
NOT all of them
Re: yRealisticBank - Advanced bank system (economic ) -
Ritzy2K - 12.11.2015
sscanf is by ****** and not Emmet_ if i'm not wrong.
Re: yRealisticBank - Advanced bank system (economic ) -
SecretBoss - 12.11.2015
Quote:
Originally Posted by [ND]xXZeusXx.
sscanf is by ****** and not Emmet_ if i'm not wrong.
|
It started by ****** but Emmet_ re uploaded it
sscanf v2.8.1
Re: yRealisticBank - Advanced bank system (economic ) -
PT - 12.11.2015
Quote:
Originally Posted by SecretBoss
|
Yes that doesnt mean he did it..
Like much other post's of ****** was deleted.
Re: yRealisticBank - Advanced bank system (economic ) -
Ritzy2K - 13.11.2015
This plugin was created by Y_Less. Since he had his topics deleted, I decided to re-upload this plugin since so many server owners rely on it.
I'd also like to clarify that I do not take credit for ANY of his work, nor do I intend to copy it.
Read the first 2 lines lol.
Re: yRealisticBank - Advanced bank system (economic ) -
Bolex_ - 13.11.2015
i love it
Re: yRealisticBank - Advanced bank system (economic ) -
Karan007 - 13.11.2015
Nice one!
Re: yRealisticBank - Advanced bank system (economic ) -
Youice - 13.11.2015
Quote:
Originally Posted by SecretBoss
As I am checking the code, Pottus is right, you are supposed to use player textdraws when you want to put some information for player to textdraw for example if you wanted to make a textdraw with player's total deposit money you should use player textdraw in this case you must use global ones, some of your textdraws are supposed to be player textdraw but NOT all of them
|
So, I revised my FS and decided to correct the mistakes. And it's done!
Thank you all for your feed back!