Author Topic:  How the devil do I script a Tax System?  (Read 367 times)

0 Members and 1 Guest are viewing this topic.

casual onion

  • Legendary Member
  • *****
  • Posts: 1841
  • I sometimes eat onions.
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
How the devil do I script a Tax System?
« on: January 06, 2018, 07:11:53 AM »
Hello People who exist,

I want to script a Tax System in my map because money is nice to have.

It will give the player a history mark when they buy a property and place them in a tax band (like irl). So if you pay 5-10k for a house, you'd pay 75 tax lol idk.

The questions I have are:

1) How frequent should they pay (like reasonably). I was thinking 12 minutes (1 day)

2) How do I script a system to check if they've paid and add it to their next bill (so it's double). I considered just adding a loop script to joining script but if they left and joined immediately back (lagged out?) they'd be taxed twice.

- casual onion
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

cY Agent 115

  • Sr. Member
  • ****
  • Posts: 364
  • Death to trolls on the forums
  • Awards 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: cY Agent 115
  • Steam: cY Agent 115
Re: How the devil do I script a Tax System?
« Reply #1 on: January 08, 2018, 05:12:08 PM »
how do you keep track of their money? through histories? if so it will almost impossible to run a script on someone who's not in game

Nefty

  • Supreme Member
  • *****
  • Posts: 2420
  • This Hotel Sucks
  • Awards Site art contributions/TPs in-game/Contest winners Former MotM winners 5 years on site 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • Youtube
    • Awards
  • Xbox: MoiraIsEasyPOTG
  • PSN: N/A
  • Steam: OffenderMcGee
Re: How the devil do I script a Tax System?
« Reply #2 on: January 08, 2018, 07:03:15 PM »
how do you keep track of their money? through histories? if so it will almost impossible to run a script on someone who's not in game

Conveniently leaves the game when tax time comes around.......
Miner Of The Month - April 2014

casual onion

  • Legendary Member
  • *****
  • Posts: 1841
  • I sometimes eat onions.
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
Re: How the devil do I script a Tax System?
« Reply #3 on: January 08, 2018, 08:08:34 PM »
how do you keep track of their money? through histories? if so it will almost impossible to run a script on someone who's not in game

Bank balance is tracked through histories, regular money isn't.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |