Eternal Posted December 17, 2008 Posted December 17, 2008 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.. Quote
Karlos Posted December 17, 2008 Posted December 17, 2008 Re: [mccode V2] bank interest CAP Nice and simple! :) Quote
gurpreet Posted December 17, 2008 Posted December 17, 2008 Re: [mccode V2] bank interest CAP my bank crons are messed up o.o Quote
Eternal Posted December 17, 2008 Author Posted December 17, 2008 Re: [mccode V2] bank interest CAP lol wat yo mean ? Quote
AlabamaHit Posted December 17, 2008 Posted December 17, 2008 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. Quote
Eternal Posted December 17, 2008 Author Posted December 17, 2008 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.. Quote
AlabamaHit Posted December 17, 2008 Posted December 17, 2008 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... Quote
Guest Sniko` Posted December 17, 2008 Posted December 17, 2008 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 :) Quote
AlabamaHit Posted December 18, 2008 Posted December 18, 2008 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... Quote
redsnake420 Posted December 18, 2008 Posted December 18, 2008 Re: [mccode V2] bank interest CAP Ok lol i know this must be the noobiest question in the world but where do i put this at in my banks? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
AlabamaHit Posted December 18, 2008 Posted December 18, 2008 Re: [mccode V2] bank interest CAP in the deposit function of the page :-P make sure that $_POST['deposit'] is right i didnt check that... Quote
redsnake420 Posted December 18, 2008 Posted December 18, 2008 Re: [mccode V2] bank interest CAP thats where i was putting it but it kept saying there was an error Quote
AlabamaHit Posted December 18, 2008 Posted December 18, 2008 Re: [mccode V2] bank interest CAP right after $_POST['deposit']=abs((int) $_POST['deposit']); Quote
POG1 Posted December 18, 2008 Posted December 18, 2008 Re: [mccode V2] bank interest CAP its saying there is an error because DIE() is not closed, try adding ; after it Quote
redsnake420 Posted December 19, 2008 Posted December 19, 2008 Re: [mccode V2] bank interest CAP It needs to be like this then, You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Or it wont close the die function properly. Quote
Haunted Dawg Posted December 19, 2008 Posted December 19, 2008 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. Quote
redsnake420 Posted December 19, 2008 Posted December 19, 2008 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.