06.08.2012, 22:26
I am looking into a Killstreak System in which your money earning will increase + 1000 Every kill. So the most effective way for high killstreak i would do this.
Now i wish for an example, If you killstreak is 18 that it will be multiplied by 1000.
Would i do it like this?
Код:
if(pInfo[playerid][pStreak] >= 18) { format(string,sizeof(string),"%s is on a killstreak of %i!",pName(killerid),pInfo[killerid][pStreak]); SendClientMessageToAll(COLOR_GREEN,string); }
Would i do it like this?
Код:
new Money = pInfo[playerid][pStreak]; new WinPoint = Money*1000; GivePlayerMoney(playerid,WinPoint);