CraigF Posted August 17, 2007 Posted August 17, 2007 This makes it so every day money is taken from users banks for house tax. you set the tax when you create the house. If a user doesnt have money in their bank then it takes it from the hand, if they dont have it in their hand they lose their house. Run this cron every day: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add after: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add before: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And a link. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Not tested as i dont have a game anymore but should work :) Quote
RecklessCounty Posted August 18, 2007 Posted August 18, 2007 Re: [v1] House Tax Could you make this for edit house to? Quote
webster2001 Posted March 2, 2008 Posted March 2, 2008 Re: [v1] House Tax This makes it so every day money is taken from users banks for house tax. you set the tax when you create the house. If a user doesnt have money in their bank then it takes it from the hand, if they dont have it in their hand they lose their house. Run this cron every day: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Where do you run this cron, How? Quote
Jameoo Posted April 30, 2008 Posted April 30, 2008 Re: [v1] House Tax thats an easy 1 init just add this into cron day You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Delete ! Posted April 30, 2008 Posted April 30, 2008 Re: [v1] House Tax Lmao i'v seen this modification on alot of games and most game(s) users are n minus money because of it is there anyway of preventing a user going into minus money as a result of tax ? =D Quote
Zero-Affect Posted April 30, 2008 Posted April 30, 2008 Re: [v1] House Tax i had a problem like that sticking in like $h=$db->fetch_row($db->query("SELECT * FROM users WHERE userid=$userid")); be simple problem i suppose why it wont work i just don't have time lol Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.