I have a round based mod and when the player spawns they can turn etc but I
do not want them to be able to fire primary or secondary weapon.
I tried doing something like
In the CHL2MP_Player::PreThink()

if ( HL2MPRules()->IsRoundFrozen() )
{
m_nButtons |= ~IN_ATTACK;
m_nButtons |= ~IN_ATTACK2;
}
Which does not work as expected.

How could I disable the attack keys ?


r00t 3:16 CQC Gaming www.cqc-gaming.com


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to