MW3 Killtexts ?

Posts 1–2 of 2 · Page 1 of 1
MW3 Killtexts ?
Hey can somebody show me how to code these killtextes or chat messages like netcoders has ?
Thx
Code:
void CG_Obituary_Hook(entityState_t* es, eventParam_t ep)
{
    if( es->attacker == CGS->CG->localClient )
    {
          switch( ep )
          {
             case ep::headshot:
                  CL_AddReliableCommand( "say [ %s ] got killed by a headshot.", client[ es->clientNumber ]->name );
             // ...
          }
    }
}
There. Shown.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?