28.07.2013, 20:08
pawn Код:
new totalPlayerCash;
for(new playerIndex; playerIndex < MAX_PLAYERS; playerIndex++)
{
totalPlayerCash += GetPlayerMoney(playerIndex);
}
printf("The total amount of cash counted from all of the online players is $%d.", totalPlayerCash);