Loan

Started by Finch Real, Jun 22, 2016, 10:13 AM

Previous topic - Next topic

Finch Real

I am trying to create a loan system when someone take loan by using cmd /takeloan 2000 it return you have taken loan you must return loan in 10 days or your loan will be taken how do i put time in it any example?
My Snipet Showroom

http://pastebin.com/5KKuU5cg

KAKAN

save the time, minus it.
oh no

Coolkid

You need 3 things in db then name amount time and you can take loan automatically after 10 days by when a players buys loan time()+ and time of 10 days and make a function which checks in whole db for timeindb-time()<0 that's it

Finch Real

Thanks Guy anyway for help I got Better Idea than that
My Snipet Showroom

http://pastebin.com/5KKuU5cg