Simple Question
#1

pawn Код:
if(PlayerInfo[i][pSavings] >= 50000)
                {
                    new savings = ((5/10)/100)*(PlayerInfo[i][pSavings]);
                    PlayerInfo[i][pSavings] += savings;
                    format(string,sizeof(string),"Your savings grew with 0.5 percent,total: %d",PlayerInfo[i][pSavings]);
                    SendClientMessage(i,COLOR_GREY,string);
                }
How to do that calcules cuz it doesn't work .
I need this fast.I need the Savings account to raise every payday with 5%
Reply


Messages In This Thread
Simple Question - by SkizzoTrick - 31.03.2011, 20:56
Re: Simple Question - by SkizzoTrick - 31.03.2011, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)