26.07.2011, 13:45
I am wondering if it is possible to count the total of a variable[MAX_PLAYERS]
To count the total ammount of numbers of all connected players
Example:
ID 2: variable[playerid] = 20;
ID 7: variable[playerid] = 11
ID 9: variable[playerid] = 37
And if the total (20+11+37=68) can be counted within 1 pawno line.
Thanks in Advance,
Rolyy.
To count the total ammount of numbers of all connected players
Example:
ID 2: variable[playerid] = 20;
ID 7: variable[playerid] = 11
ID 9: variable[playerid] = 37
And if the total (20+11+37=68) can be counted within 1 pawno line.
Thanks in Advance,
Rolyy.