SA-MP Forums Archive
Problem with banksystem - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with banksystem (/showthread.php?tid=103457)



Problem with banksystem - [DFE]Roy - 20.10.2009

Hello,

i get sometimes a problem with my banksystem. It work correctly but if on the file exist a big summery like 1243457$ and if i put 999999 or bigger, the saved money on the file going to less an i get loss money. I use the inlude "dudb" to add files.

Greeting


Re: Problem with banksystem - kman - 20.10.2009

your script for some reason probablies reset cash if too high maybe it's just a thought


Re: Problem with banksystem - [DFE]Roy - 20.10.2009

And i need to fix it but i dont know where are the problem.
If i put 9999999$ it work fine but if i have already something like that 325453464$ on my bank and i put 9999999$ then it going less...


Re: Problem with banksystem - kman - 20.10.2009

it could have max amount on it


Re: Problem with banksystem - [DFE]Roy - 20.10.2009

I think, it must be a solution to put unlimited money...


Re: Problem with banksystem - kman - 20.10.2009

show ur codes



Re: Problem with banksystem - [DFE]Roy - 20.10.2009

Not the code is wrong, i think some changes on the dudb and it will work maybe correctly?


Re: Problem with banksystem - Think - 20.10.2009

The problem is at samp, i've had this problem multiplie times, its just that SAMP does not support numbers above 2.1 billion. than its just going from -2.1 billion to 2.1 billion etc.


Re: Problem with banksystem - [DFE]Roy - 20.10.2009

Mhhh ok, anyone know any other alternative to save many money on a file?


Re: Problem with banksystem - Think - 20.10.2009

Quote:
Originally Posted by [DFE
Roy ]
Mhhh ok, anyone know any other alternative to save many money on a file?
Create multiplie bank variables in your saving file like: pBank1 pBank2 pBank3, and make it multiplie bank accounts ingame too like: Your bank #1 contains: xxxxx
Your bank #2 contains: xxxx

So it wont get bugged, this is actually a nice idea for more RP like more banks so people can work at the banks and stuff but w/e you figur that out >