AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Possible to start/stop other plugins? (https://forums.alliedmods.net/showthread.php?t=215066)

Unkolix 05-03-2013 09:14

Possible to start/stop other plugins?
 
Is it possible to start/stop other plugins on a function?

Something like:
PHP Code:

register_clcmd("say /startguns""Guns_Menu_Enabled")
register_clcmd("say /endguns""Guns_Menu_Disabled")
/***/
public Guns_Menu_Enabled() {
//Some code to start f.e. guns_menu_plugin
}
public 
Guns_Menu_Disabled() {
//Some code to stop f.e. guns_menu_plugin



hornet 05-03-2013 09:23

Re: Possible to start/stop other plugins?
 
You mean like pause() and unpause() ?

Unkolix 05-03-2013 10:01

Re: Possible to start/stop other plugins?
 
Quote:

Originally Posted by hornet (Post 1944990)
You mean like pause() and unpause() ?

Yeah, I think that's what I am looking for :D

fysiks 05-04-2013 03:14

Re: Possible to start/stop other plugins?
 
Quote:

Originally Posted by Unkolix (Post 1945011)
Yeah, I think that's what I am looking for :D

Just remember that there may be some plugins that do not fully recover from a pause().

Unkolix 05-04-2013 04:42

Re: Possible to start/stop other plugins?
 
Quote:

Originally Posted by fysiks (Post 1945416)
Just remember that there may be some plugins that do not fully recover from a pause().

Hmm, how to understand that? Can you explain more about this?

Leon M. 05-04-2013 12:50

Re: Possible to start/stop other plugins?
 
If you want to unpause some plugins it could be possible that you have to restart/change the map. Some plugins are not working properly after they unpaused.


All times are GMT -4. The time now is 10:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.