Search found 1 match
- Tue Sep 01, 2009 10:13 pm
- Forum: Programming Discussion
- Topic: Event setting var in cgame module
- Replies: 7
- Views: 3193
Re: Event setting var in cgame module
By adding the below code, cgame will zoom out when the active player dies. EV_OBITUARY is sent everytime a player dies so clients can show death messages. case EV_OBITUARY: DEBUGNAME("EV_OBITUARY"); + // check for death of the current clientNum + if ( es->otherEntityNum == cg.snap->ps.clie...