






inline int64 CmaskAll() { return -1; }
inline int64 CmaskOne(int ClientID) { return 1<<ClientID; }
inline int64 CmaskAllExceptOne(int ClientID) { return CmaskAll()^CmaskOne(ClientID); }
inline bool CmaskIsSet(int64 Mask, int ClientID) { return (Mask&CmaskOne(ClientID)) != 0; } (edited)GameServer()->CreateSound(vec2 pos, int soundId, int64 mask); (edited)

"


int test = 0xb00b; (edited)




$cool = "Its super cool"



CmaskAllExceptOne
CmaskOne








CmaskOne(3) =>
1000
& 1111
= 1000 (edited)

11 in bit representation (edited)





-1 = 0b11111110 (edited)-0 = 0b11111111 o.O





Two's complement it's '-1 = 0b1111111`














GameServer()->SendGameMsg(GAMEMSG_CTF_CAPTURE, fi, F->GetCarrier()->GetPlayer()->GetCID(), Server()->Tick()-F->GetGrabTick(), -1); (edited)


case GAMEMSG_CTF_CAPTURE:
m_pSounds->Enqueue(CSounds::CHN_GLOBAL, SOUND_CTF_CAPTURE);
int ClientID = clamp(aParaI[1], 0, MAX_CLIENTS - 1);
if(aParaI[2] <= 60*Client()->GameTickSpeed())
str_format(aBuf, sizeof(aBuf), Localize("The %s was captured by '%2d: %s' (%.2f seconds)"), aParaI[0] ? Localize("blue flag") : Localize("red flag"),
ClientID, g_Config.m_ClShowsocial ? m_aClients[ClientID].m_aName : "", aParaI[2]/(float)Client()->GameTickSpeed());
else
str_format(aBuf, sizeof(aBuf), Localize("The %s was captured by '%2d: %s'"), aParaI[0] ? Localize("blue flag") : Localize("red flag"),
ClientID, g_Config.m_ClShowsocial ? m_aClients[ClientID].m_aName : "");
m_pChat->AddLine(-1, 0, aBuf);
