AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Restarting Plugin (https://forums.alliedmods.net/showthread.php?t=168547)

Diegorkable 09-30-2011 15:39

Restarting Plugin
 
Hey!
If I have a plugin in my server, and then I type in console amx_off then amx_on. Will the plugin restart that way that plugin_precache will be executed again?

enjoi. 09-30-2011 15:42

Re: Restarting Plugin
 
amx_off = amx mod x shuts off but i believe it might work because hide n seek i did amx_off and i believe it still worked but the jumps disappeared not sure cant remember

Emp` 09-30-2011 15:44

Re: Restarting Plugin
 
plugin_precache is only called at the start of the map.

Plugins are only loaded (initialized) at the start of the map.

Diegorkable 09-30-2011 16:02

Re: Restarting Plugin
 
So how can I reload the plugin? (include plugin_precache)? Without having to restart server.

I want that it'll reload the plugin as if the server restarted, but NOT by restarting the server. How can I do that?

jimaway 09-30-2011 16:34

Re: Restarting Plugin
 
change map lols? :D

Diegorkable 09-30-2011 16:59

Re: Restarting Plugin
 
its the same as doing a restart :s

fysiks 09-30-2011 22:09

Re: Restarting Plugin
 
You can't. Nothing can be precached mid-game anyways.


All times are GMT -4. The time now is 19:37.

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