Quote:
Originally Posted by PurposeLessx
I tried it.
PHP Code:
set_entvar(players[i], var_flags, get_entvar(players[i], var_flags) | FL_FROZEN);
But they can still jump and attack everywhere and everyone.
I am trying it with bots. It can not block them because of they are bot, it can be?
|
Save their view angle when they spawn and set that angle on PreThink + fixangle 1. This will prevent them from turning.
For attacking, just set m_flNextPrimaryAttack.
For jumping, you can't properly block jump, it will still play a bit of the animation.
__________________