Jump to content
MakeWebGames

Recommended Posts

Posted

In Cron_day.php change

You're unable to view this code.

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

 

TO

You're unable to view this code.

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

 

Set to the interest you like

i put mine 15 bill for players after that no interest

75 bill for donators no interest after..

Posted

Re: [mccode V2] bank interest CAP

this is not completely right.

if i have 14,999,999

1 dollar short of 15 billion. I will get interest.

people will disagree with me here. But best way of this is this.

$db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) WHERE bankmoney > 0"); //This gives interest.

$db->query("UPDATE users SET bankmoney=15000000000 WHERE bankmoney > 15000000000");//Sets 15 billion if goes over...

same thing for cyber. I konw this works. I done it a year ago on an old game of mine.

Posted

Re: [mccode V2] bank interest CAP

 

this is not completely right.

if i have 14,999,999

1 dollar short of 15 billion. I will get interest.

people will disagree with me here. But best way of this is this.

$db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) WHERE bankmoney > 0"); //This gives interest.

$db->query("UPDATE users SET bankmoney=15000000000 WHERE bankmoney > 15000000000");//Sets 15 billion if goes over...

same thing for cyber. I konw this works. I done it a year ago on an old game of mine.

That Would be a great idea.

but in a way if a user try's to put 120 bill into it from some sale or so they loose it..

mostly what i am doing is just stopping it ..

but i see people can take out $1 and gain that interest and put in gang vault..

Posted

Re: [mccode V2] bank interest CAP

there is always more to somethin glike this...

If you dont want them to lose it of course you block them from being able to ahve 15 billion in there bank. so they can not deposit more than 15 billion...

Posted

Re: [mccode V2] bank interest CAP

or you could just put in bank.php somewhere

 

You're unable to view this code.

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

 

lOl

Or do it AH way :)

Posted

Re: [mccode V2] bank interest CAP

its not that hard....don't hold variables to me...

 

You're unable to view this code.

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

 

and you can do that on all banks.......simple....they can not ever have over 15 bill. They can not deposit 15 bill or deposit 13 bill if they got 10 bill.....cause it totals their deposit and bankmoney. if that totals over 15 bill then they can not deposit...

Posted

Re: [mccode V2] bank interest CAP

This has been answered before.

But why not use this rather. It's a way to get more out of the game. That way people can mug those with over 15 bill in there bank.

 

You're unable to view this code.

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

Posted

Re: [mccode V2] bank interest CAP

The other way wouldn't work for me even after i closed it properly so i did this and it works perfect.

 

 

 

You're unable to view this code.

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

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...