Need your opinion
#1

Hello guys!

I wanted to ask you something...

Im trying to make house system and everything is fine for now , but i have little question how i can make realistic tax system?

Like variable and timer or what?
Reply
#2

What do you mean by tax system? Electricity, water, etc? or what.
Reply
#3

Yeah but not like that , just a total amount like When player enters a house and show him a dialog like Tax: You have to pay for taxes : amount.

Maybe i can try to call a timer when player enters the house and add a amount to Tax Variable?
Reply
#4

Yes, you can add a SetTimeEx to make a tax system.
Reply
#5

You could use unix timestamps instead.
Reply
#6

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You could use unix timestamps instead.
Not instead , with timers like amount is rising and when 1 day passes player has to pay taxes ,but the problem is , i dont know how to use timestamps... :/
Reply
#7

Timers can cause lag, you can use timestamps as a replacement in some cases.

Here's a toturial:
https://sampforum.blast.hk/showthread.php?tid=254915
Reply
#8

yes i read that tut ,but i dont know how i should use it in tax system...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)