05.03.2008, 17:02
Quote:
Originally Posted by kaisersouse
One could also (easily) make it take a percentage of your money. If you wanted it to take 1% of your money then
Code:
moneytotal = GetPlayerMoney(playerid)*.01; GivePlayerMoney(playerid, -moneytotal); EDIT: Ps I'll be using this. Thanks OP ![]() |
What if the player has negative money? (ie. -10.000)
The killer who harvest the money get 1% of -10.000, and lose -100$?
And the player who dies gets GivePlayerMoney(playerid, --100); 2 minus could cause problems.
If so players could abuse of it.
Can you make some tests to verify?