Hello. Im new to scripting plugins, so basically i managed to make a plugin and what i want to do is this: When the plugin does sv_restart 1 and round restarts, i want all people to be freezed. Currently i have this
But its only slowing down players, not actually freezing them. I want the effect as mp_freezetime 50 for example,not be able to shoot/move.
Код:
set_user_frozen( id, bool:bFrozen ) {
if( bFrozen )
set_pev( id, pev_flags, pev( id, pev_flags ) | FL_FROZEN ) ;
set_pev( id, pev_flags, pev( id, pev_flags ) & ~ FL_FROZEN ) ;
}