14.08.2011, 18:51
I'll give you an example:
That's how you calculate 15 percent. If you want 7 percent (for example), replace 15 with 7.
pawn Код:
new moneys, percent;
moneys = GetPlayerMoney(playerid)
percent = (moneys * 15) / 100