[FilterScript] || Simple TAX System ||
#1

Hey guys, this is my first release , its only small but I think it is very usefull for some roleplay servers, I just finished making it for my own server and thought I should share it with everybody.

This tax system occurs every 3 minutes(can be changed) and will charge whatever you want it to, I usually make it so it takes 1/8th of the players money.

Changing the ammount:
There are 2 ways to change the ammount:
1: go in-game and log into rcon and type /settax [AMMOUNT] (note: it is set to the fraction, so if you want it to take half your money every 3 minutes type 2 if you want a quarter type 4 etc..)

2:This way you don't have to set it every time you start your server up, go into the script and find this:
pawn Код:
new ammount = GetPlayerMoney(playerid)/GetPVarInt(playerid,"ammount");
and change it to this:
pawn Код:
new ammount = GetPlayerMoney(playerid)/TAX_AMMOUNT;
and then go to the top of the script and change #define TAX_AMMOUNT 6 to whatever you prefer
Changing the time:
To change the time just go into the script and change #define TAX_TIME 180000 to whatever time you prefer (180000 is 3 minutes)
Download:
PASTEBIN!!!!

Leave me some feedback!
Reply


Messages In This Thread
|| Simple TAX System || - by mrcoolballs - 05.09.2010, 10:54
Re: || Simple TAX System || - by PinkFloydLover - 05.09.2010, 14:45
Re: || Simple TAX System || - by ipsBruno - 06.09.2010, 01:27
Re: || Simple TAX System || - by willsuckformoney - 06.09.2010, 01:40
Re: || Simple TAX System || - by PinkFloydLover - 06.09.2010, 03:17
Re: || Simple TAX System || - by willsuckformoney - 06.09.2010, 03:29
Re: || Simple TAX System || - by sanxp1992 - 06.09.2010, 04:04
Re: || Simple TAX System || - by PinkFloydLover - 06.09.2010, 04:07
Re: || Simple TAX System || - by krisis32 - 13.06.2011, 21:02
Respuesta: || Simple TAX System || - by Host-samp - 13.06.2011, 21:15

Forum Jump:


Users browsing this thread: 2 Guest(s)