halfbaked Posted July 13, 2011 Share Posted July 13, 2011 (edited) I have tested this and found no bugs it prevents users from being able to use negative numbers to get unlimited amounts of cash and it stops users from being able to take more out then max loan. to upload this just overwrite your bank.php with the file run the 1 sql and add the one cron to day cron. mysql_query("UPDATE `users` SET `money` = `money` - 2500 WHERE `loan` > 0", $c); <---- Add to day cron ALTER TABLE `users` ADD `loan` INT (11) NOT NULL ; <----------- insert into php my admin You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited July 13, 2011 by halfbaked Quote Link to comment Share on other sites More sharing options...
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.