Property Tax?
#1

So I'm using GarHouse and I need to find a way to charge players a property tax. Anyway? +REP
Reply
#2

I'm Probably Wrong, But,

Random Amount?
Set via a Timer?


Cheers
Ezay
\o/
Reply
#3

How often are you wanting to charge them? Daily, Weekly, or Monthly?
Reply
#4

Quote:
Originally Posted by Camacorn
Посмотреть сообщение
How often are you wanting to charge them? Daily, Weekly, or Monthly?
I would want to charge them Daily. Thanks,
Reply
#5

Anyone please?
Reply
#6

You could get the percentage of the properties value and set that as a tax.
For example a house costs 100,000 and you get 0.5% as a tax, so you would charge the 0.5% every payday.
Reply
#7

Okay thanks but how would I do that? Please help?
Reply
#8

If the system is using enums then:

Код:
new propertyTax[MAX_PROPERTIES];
propertyTax[propertyid] = Property[propertyid][Value] / 100;
propertyTax[propertyid] = propertyTax[propertyid] * 2;
Reply
#9

It's not using enums. Here are the includes: dcmd, dini, dudb, streamer, and sscanf2.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)