mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-02-05 02:00:47 +03:00
parent
035189cbeb
commit
d23e133fd8
@ -47,6 +47,10 @@ bool EXT_FUNC CCSPlayer::JoinTeam(TeamName team)
|
|||||||
if (pPlayer->m_iTeam == SPECTATOR)
|
if (pPlayer->m_iTeam == SPECTATOR)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// not necessary to trigger death event, just died quietly
|
||||||
|
pPlayer->pev->deadflag = DEAD_DEAD;
|
||||||
|
pPlayer->pev->health = 0;
|
||||||
|
|
||||||
pPlayer->RemoveAllItems(TRUE);
|
pPlayer->RemoveAllItems(TRUE);
|
||||||
pPlayer->m_bHasC4 = false;
|
pPlayer->m_bHasC4 = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user