09.09.2012, 11:55
I was making my paycheck calculations and i have the following question:
So why is the bottom equasion which is supposed to double the player's paycheck works and the upper two which are supposed to give as it follows a 50% bonus and a 25% bonus don't work?
pawn Код:
if(PlayerInfo[i][pVIP] == 2) {finalpaycheck = finalpaycheck * (125/100);}//doesn't work
if(PlayerInfo[i][pVIP] == 3) {finalpaycheck = finalpaycheck * (150/100);}//doesn't work
if(PlayerInfo[i][pVIP] == 4) {finalpaycheck = finalpaycheck * (200/100);}//this equasion works but the upper two don't?