bug fix for get team, add this code to the end of ubbot_util.cpp
Code:
int UTIL_GetTeam (edict_t *pEdict)
{
IPlayerInfo *pi = NULL;
if ((pi = playerinfomanager->GetPlayerInfo (pEdict)) != NULL)
return (pi->GetTeamIndex ());
else
return -1;
}
& max clients is sent on server activate.
code hasn`t been tested but should hopefully work enjoy
[edit]
much cleaner code.
[/edit]