Hi, I'm trying to count the number of live mobs. But I do not like it. Since Mobs does not have m_zombieClass.
int count = 0;
for (int i = 1; i <= MaxClients; i++)
if (IsClientConnected(i) && IsClientInGame(i) && IsFakeClient(i) && GetEntProp(i, Prop_Send, "m_zombieClass") == 0) count++;
Does anyone have an option how to count live mobs