I was wondering if anything changed to round detection since the realbot metamod plugin does not detect rounds as it should. THe code remained the same, perhaps i missed something here:
Code:
edict_t* pfnFindEntityByString(edict_t *pEdictStartSearchAfter, const char *pszField, const char *pszValue)
{
// Counter-Strike - New Round Started
if (strcmp(pszValue,"info_map_parameters") == 0)
{
UTIL_ClientPrintAll( HUD_PRINTNOTIFY, "New round\n");
// New round started.
Game.SetNewRound(true);
Game.SetRoundTime(gpGlobals->time);
}
RETURN_META_VALUE (MRES_IGNORED, NULL);
}
note, i added the util_clientprintall to see at console if anything happens.
I saw as well in CS 1.6 as in CS 1.5 the round-detection failed. In my version without metamod this worked okay. Perhaps the info_map_paramaters are initialized by metamod itself or whatever?
Gtg now, i hope someone has a quick answer