Quote:
Originally Posted by Lord Nightmare
Use Props in game
Code:
if (GameRules_GetProp("m_bWarmupPeriod") == 1) {
g_Warmup_Round = true;
}
else if (GameRules_GetProp("m_bWarmupPeriod") == 0) {
g_Warmup_Round = false;
}
|
Thank you.
But that seems I have to do it again and again before warmup peroid ends, even so, I can not catch the end of warmup peroid precisely, because when I got "GameRules_GetProp("m_bWarmupPeriod") == 0", warmup period is actually already ended.
Are there any even like "round end" so I can hook it by using HookEvent function?