Why don't you use the PrintScreen key or Snipping tool to make screenshots ?
There must not be "=" in server.cfg. You have to delete = after set omnibot_path.
Where can we download pk3 file of this map ?
You should never use entity numbers because they depend on mods. You should use GetEntityByName instead of GetGameEntityFromId. If the entity does not have any name, then you can use TraceLine.
Functions GetEntityByName and GetGameEntityFromId return null if the entity is invalid. Correct condition is:
if(ent1)
{
print("Entity is valid");
}
You must not use GetEntTeam in OnExit because it returns null if a player disconnected. Players can also change team when they are inside the region. See wiki how to count players in a region.
This is not related to bots. The same problem happens if you watch human players. There are a lot of bugs in the omnibot mod because it is based on the original game from year 2001. The spectator stamina is displayed correctly in newer mods (legacy, nitmod, noquarter, silent). It does not work in jaymod and etpub.