Jump to content
MakeWebGames

[v1] House Tax


CraigF
 Share

Recommended Posts

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 :)

Link to comment
Share on other sites

  • 6 months later...

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?

Link to comment
Share on other sites

  • 1 month later...

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.

 Share

×
×
  • Create New...