Quote:
Originally Posted by naris
There are also bits in m_nPlayerCond
Code:
FindSendPropInfo("CTFPlayer","m_nPlayerCond");
that relate to cloaking and uber,etc.
if m_nPlayerCond & 32 then the player is ubered.
if m_nPlayerCond & 16 then the spy is cloaked.
if m_nPlayerCond & 8 then the spy is disguised.
if m_nPlayerCond & 1 then the player is slowed (sniper is zoomed or heavy is firing or spinning his barrel)
Turning off bit 16 will uncloak a spy.
Turning off bit 8 will un-disguise him.
|
128 is taunting.
24 is when spy is cloak with disguise.
16 is when spy is cloak without disguise.
4 is when spy is currently disguiseing himself.
3 is sniper zoomed.
1 is heavy spinning barrel.
0 is when spy isn't cloak and isn't disguise.
I forget the number when you are being healed.