Jump to content
MakeWebGames

Recommended Posts

Posted

Name says it all a new take out a loan if players cant pay back the loan it takes there house of them and declairs them bankrupt so here it is

call this loan.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add these sqls

ALTER TABLE `users` ADD `loan_days` SMALLINT( 2 ) NOT NULL DEFAULT '0',

ADD `loan_days_max` SMALLINT( 2 ) NOT NULL DEFAULT '30';

ADD `bank_frozen` SMALLINT( 2 ) NOT NULL DEFAULT '0';

ADD `lose_house` SMALLINT( 2 ) NOT NULL DEFAULT '0';

ADD `loan` INT( 11 ) NOT NULL DEFAULT '0';

ADD `maxloan` INT( 11 ) NOT NULL DEFAULT '50000';

ADD `loan_payed` INT( 11 ) NOT NULL DEFAULT '0';

ADD `loanintrest` INT( 11 ) NOT NULL DEFAULT '10';

and your done enjoy any probs let me know

Posted

Re: New Take Out A Loan

thats good,

but an example, what if they transfer the money before they have to pay it back

ok so they lose the house and are declared backup what does that do to the player

i would think the best way to do this is do some rewriting the code and either

have a bank loan where they can not transfer it by adding a feild called 'loan' and if they try to do a transfer and loan = 1 then it will be denied

also rather then losing the house, i would make the money on hand minus what they took out

so if they took out 10,000,000 dollars and they have 0 on hand they would go into a negative of 10,000,000

but that is just my two sense

EDIT - ADD `maxloan` INT( 11 ) NOT NULL DEFAULT '50000' sorry did not see that was the max but still would like to keep my above advise

Posted

Re: New Take Out A Loan

ok fair comment but why wud you want negative cash can really mess with your game thats why i made it take there house but thanks for your input mate

Posted

Re: New Take Out A Loan

most not have done if you said so all mighty god you dont know me mate all alot ive found on my old computer tower from years ago which ive just set for my son in his bedroom so thought i wud post them but some people dont like it so ill not post no more

Posted

Re: New Take Out A Loan

Oh no, we're all gonna die. I know, and you know that you didn't make them. So don't give us all that BS, and you can't have found it years ago, half of these weren't even "made" years ago.

Posted

Re: New Take Out A Loan

arrr stop please dont at least some of us post unlike some just trying to help everyone and yes we made alot me and lostone a few years back so dont come that crap bro

Posted

Re: New Take Out A Loan

Nah, it isn't crap. The reason why I know? Nearly every single mod you posted I have on my computer. I know this is isn't good, but I experimented when I was still learning, I never used any though, so I guess I'm clean. But anyway, I know you didn't make them, unless you can give me rock solid proof you made them, then I'll believe you.

Posted

Re: New Take Out A Loan

and how would you say i can do that how can any one on here who makes mods and idoits steal them which people do on here and i asure you im not one speak with with loastone he will back me up bro look i dont wanna argue about it im just posting a script for the people of ce to use thats all chill mate

Posted

Re: New Take Out A Loan

sorry for the long delay on your questions

example what if they have a the house they start with (big deal if they lose it)

the reason why i said send their account into a negative, it would make the best sense. As for messing up the game, how ?

the stats are you referring to?

That is why i suggested that you add a feild and if loan = 1 they cant send any money or crystals or weapons to people while that = 1

then once the loan is paid the loan will be 0 then they can transfer money crystals etc. again

and if they dont pay back it just auto takes it from them + interest

so if the loan was for 10,000 and they did not pay it back it would take 15,000 dollars out and with the negative they would have to cover that.

But that is the way i look at this mod

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