Talk:Bank Interest

From SMFShopWiki

Jump to: navigation, search

[edit] bank interest

NO NEED FOR A CRON JOB.

When a user uses the bank, save a timestamp to a table. Next time user interacts with the bank, check if previous timestamp is X time old, update the timestamp to now and adjust the interest rate. This also saves resources on the server. Win Win for all.

Personal tools