GameServer()->CreateDamageInd(m_Pos, 0, (m_FreezeTime + 1) / Server()->TickSpeed(), TeamMask());
(edited)Mask
argument all teamates id'sCClientMask Mask;
for(int i = 0; i < MAX_CLIENTS; i++)
{
if(m_apPlayers[i] && IsTeamate(i))
Mask[i] = true;
}
CreateDamageInd(arg1, arg2, arg3, Mask);
CClientMask Mask;
for(int i = 0; i < MAX_CLIENTS; i++)
{
if(m_apPlayers[i] && IsTeamate(i))
Mask[i] = true;
}
CreateDamageInd(arg1, arg2, arg3, Mask);
CDemoPlayer
to play a specified demo file and extract all the chat messages.
Proposed tool name: demo_extract_chat
Consideration: Should the chat be logged to stdout or printed to a file (name specified manually or automatically)?