Raised This Month: $ Target: $400
 0% 

Restarting Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 09-30-2011 , 15:39   Restarting Plugin
Reply With Quote #1

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?
Diegorkable is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 09-30-2011 , 15:42   Re: Restarting Plugin
Reply With Quote #2

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
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 09-30-2011 , 15:44   Re: Restarting Plugin
Reply With Quote #3

plugin_precache is only called at the start of the map.

Plugins are only loaded (initialized) at the start of the map.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 09-30-2011 , 16:02   Re: Restarting Plugin
Reply With Quote #4

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?

Last edited by Diegorkable; 09-30-2011 at 16:32.
Diegorkable is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 09-30-2011 , 16:34   Re: Restarting Plugin
Reply With Quote #5

change map lols?
jimaway is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 09-30-2011 , 16:59   Re: Restarting Plugin
Reply With Quote #6

its the same as doing a restart :s
Diegorkable is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-30-2011 , 22:09   Re: Restarting Plugin
Reply With Quote #7

You can't. Nothing can be precached mid-game anyways.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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