the more money the more pay
#9

Код:
new Percents=10;//added

new Money=GetPlayerMoney(playerid);
new Fees=Money/100*Percents;//changed
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,Money-Fees);
...weird, sometimes the concept from my previous post works, sometimes it fails...
while experimenting with agent-based pathfinding algorithms, those rounding bugs always occured when recalculating node values. nevertheless, the method above will prove to be more "stable"...
Reply


Messages In This Thread
the more money the more pay - by GoldZoroGrab - 20.12.2012, 19:54
Re: the more money the more pay - by Babul - 20.12.2012, 19:58
Re: the more money the more pay - by Kaaajmak - 20.12.2012, 19:58
Re: the more money the more pay - by GoldZoroGrab - 20.12.2012, 20:02
Re: the more money the more pay - by GoldZoroGrab - 20.12.2012, 20:09
Re: the more money the more pay - by GoldZoroGrab - 20.12.2012, 20:37
Re: the more money the more pay - by Basssiiie - 20.12.2012, 22:23
Re: the more money the more pay - by Randy More - 20.12.2012, 22:33
Re: the more money the more pay - by Babul - 21.12.2012, 09:28
Re: the more money the more pay - by GoldZoroGrab - 21.12.2012, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)