SA-MP Forums Archive
Simple Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Simple Question (/showthread.php?tid=245546)



Simple Question - SkizzoTrick - 31.03.2011

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%


Re: Simple Question - SkizzoTrick - 31.03.2011

DELETE THIS,SORRY,WRONG SECTION