mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-06-18 08:42:08 +03:00
mp_defuser_allocation: Send a message with a hint instead of the text in the center
This commit is contained in:
parent
bdc96d26d9
commit
fef9bf3a87
@ -5464,9 +5464,9 @@ void CHalfLifeMultiplay::GiveDefuserToRandomPlayer()
|
|||||||
for (int i = 0; i < iDefusersToGive && i < candidates.Count(); ++i)
|
for (int i = 0; i < iDefusersToGive && i < candidates.Count(); ++i)
|
||||||
{
|
{
|
||||||
CBasePlayer *pPlayer = candidates[i];
|
CBasePlayer *pPlayer = candidates[i];
|
||||||
assert(pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive());
|
DbgAssert(pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive());
|
||||||
|
|
||||||
pPlayer->GiveDefuser();
|
pPlayer->GiveDefuser();
|
||||||
ClientPrint(pPlayer->pev, HUD_PRINTCENTER, "#Got_defuser");
|
pPlayer->HintMessage("#Got_defuser", FALSE, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user