08.10.2015, 13:46
Do you want to calculate the vehicles?
Код:
stock CountVehicles(){ new cnt=0; for(new i = 1; i <= MAX_VEHICLES; i++){ if(IsValidVehicle(i)){ cnt += 1; } } return cnt; }