Jump to content
MakeWebGames

v1 Loanshark and Bank in 1


halfbaked

Recommended Posts

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