View Single Post
safetymoose
Senior Member
Join Date: Feb 2015
Old 05-09-2020 , 10:32   Re: Pause/Unpause sourcemod plugins
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
...no?
That's so weird. I found this in the include
PHP Code:
/**
 * Called when the plugin's pause status is changing.
 *
 * @param pause         True if the plugin is being paused, false otherwise.
 */
forward void OnPluginPauseChange(bool pause); 
But i dont see a way to change the plugin's pause status.

Quote:
Originally Posted by Bacardi View Post
You can do it with cvar
or sm plugins unload/load
Would ServerCommand() do the trick here? I guess it should work, but it's gonna look crude.

Quote:
Originally Posted by Bacardi View Post
I'm familiar with natives and forwards, they have a different purpose tho.

Last edited by safetymoose; 05-09-2020 at 10:39.
safetymoose is offline