Here is my sollution, probably many use it as i believe i got this from the forums when i just started RB
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) {
// New round started.
Game.SetNewRound(true);
Game.SetRoundTime(gpGlobals->time);
}
RETURN_META_VALUE (MRES_IGNORED, NULL);
}
I think the 'new optimized shit code from cs dll' does not do this anymore at round start.
Perhaps an engine message gets sent ALL THE TIME (also on dedicated server) so we can use that as a sollution?