How i freeze the player per 10 seconds...
OBS: If the player stwich the weapon your maxspeed is set to default.
I have tryed with this code:
PHP Code:
set_pev( id, pev_flags, pev( id, pev_flags ) | FL_FROZEN ); + set_task()
To remove: set_pev( id, pev_flags, pev( id, pev_flags ) & ~FL_FROZEN );
But if the player are walking and this code are in action the screen of player bug.
Any other code without CurWeapon?
OBS: this code are used at blocks, like bm.