Jump to content
MakeWebGames

[mccode v2] Av Bank


Zero-Affect

Recommended Posts

I get bored easy and i recoded bank... just incase yall assume this is the bank just changed please read the full code its alot different i never even looked at bank when i made this

its a little more advanced than the actual bank and has i see noobs making a bank just for donators i made this for yaz

 

Open bank.php:

delete the content

then add this:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Open cron_day.php:

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add Below:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I posted this since i ain't posted anything free in awhile.

please leave comments.

Link to comment
Share on other sites

  • 7 months later...

Re: Av Bank [FREE]

100% = total bank, therefor 1% = bank*0.01, etc etc etc

so, getting on the Zero's code for 1% interest it would be something like this

$db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*0.01) where bankmoney>0 and donatordays>0");

or

$db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*.01) where bankmoney>0 and donatordays>0");

Link to comment
Share on other sites

Re: [mccode v2] Av Bank

im sure the floor and float could be added...

I maybe wrong but this is a obvious solution to the draw backs in all the previous posts

money=money+(money*0.01) would basically lets show example

100 = 100 + (100*0.01)

therefore resulting in 100 + 101 = 201

good try though guys... but i don't wanna gives users 101% interest:p

Link to comment
Share on other sites

Re: [mccode v2] Av Bank

Please. When you make a edit make it right.

 

$db->query('UPDATE users SET bankmoney=(bankmoney * 0.01) where bankmoney>0 and donatordays>0', $interest);

That would give you a error like a llama spitting at you.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...