02.08.2014, 21:13
Maybe something like this?
Untested.
pawn Код:
stock GetFacCount(fid)
{
new count;
foreach(Player, i) {
if(pInfo[i][pFaction] == fid) count++;
return count; }
return 0;
}