/**
* Used for EndRoundMessage() logged messages
*/
enum ScenarioEventEndRound
{
ROUND_NONE,
ROUND_TARGET_BOMB,
ROUND_VIP_ESCAPED,
ROUND_VIP_ASSASSINATED,
ROUND_TERRORISTS_ESCAPED,
ROUND_CTS_PREVENT_ESCAPE,
ROUND_ESCAPING_TERRORISTS_NEUTRALIZED,
ROUND_BOMB_DEFUSED,
ROUND_CTS_WIN,
ROUND_TERRORISTS_WIN,
ROUND_END_DRAW,
ROUND_ALL_HOSTAGES_RESCUED,
ROUND_TARGET_SAVED,
ROUND_HOSTAGE_NOT_RESCUED,
ROUND_TERRORISTS_NOT_ESCAPED,
ROUND_VIP_NOT_ESCAPED,
ROUND_GAME_COMMENCE,
ROUND_GAME_RESTART,
ROUND_GAME_OVER
};
#include <amxmodx>
#include <reapi>
public plugin_init()
{
RegisterHookChain( RG_RoundEnd, "RoundEnd", 0 );
}
public RoundEnd( WinStatus:status, ScenarioEventEndRound:event, Float:tmDelay )
{
if ( event == ROUND_GAME_RESTART)
{
//code...
}
}
In meantime he can cancel the reconnect using Escape button, which causes problems in a lot of cases. The moment must be caught, so it can be fixed. - this is bug, which Valve hasn't fixed and still persists.
Can u explain this problems? Sorry but i don't know any plugin that need to hook "retry"which causes problems in a lot of cases (plugins)
get_entvar( pPlayer, EntVars:var_flags ) & FL_DORMANT