Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Cool on Oct 21, 2015, 04:58 PM

Title: loan
Post by: Cool on Oct 21, 2015, 04:58 PM
i want to make a system if player has 10000 money he can take loan of 20k  but if  he didnt pay money  in 15 days add that money in account in - stat in his account and a cmds of payloan and get loan and functions how i can do it please tell me a idea or example i will try to make if error occured i will post in that topic
Title: Re: loan
Post by: KAKAN on Oct 21, 2015, 05:40 PM
Please try it to make yourself.
No one is going to script for you.
If you found bugs, we're ready to help you out in fixing them
Title: Re: loan
Post by: Xmair on Oct 22, 2015, 05:55 AM
Just a small thing.
You can learn something from rocky's temp ban system in the previous unofficial forums.
Make a database and store the loan in it for every player.
And before a player takes a loan again, check if he already has taken a loan or whenever a player joins check if he hasn't paid the loan from 15 days. If not then - his money.
Title: Re: loan
Post by: Spidey on Oct 22, 2015, 07:34 AM
just help him
Title: Re: loan
Post by: KAKAN on Oct 22, 2015, 11:20 AM
Quote from: Spidey on Oct 22, 2015, 07:34 AMjust help him
He did. What else help do he needs? And how can you know about his help? Do you want to copy the snip from @Xmair too?