--------------------------
to bind a cmd:
it's the beggining of the code i can't help you much i'm noob @scripting
public OnPluginStart()
{
RegConsoleCmd("pause", to_pause)
RegConsoleCmd("unpause", to_unpause)
}
--------------------------------------
they're is some problem with that :
- if survivor are hanging during the pause, when unpause they will fall
- infected aren't invincible, god 1 doesn't afect infected team
good points :
- witch will be still here after pause/unpause
- tank don't loose control (z_frustration 0)
-even if an infected is in ghostmod he will be frozen and if he try to spawn for being unstuck he will be frozen instantly