Plugin unload: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
'''plugin_unload''' is used to unload a loaded plugin (depending on the plugin this may be unstable and cause a server to crash.
'''plugin_unload''' is used to unload a loaded plugin (depending on the plugin this may be unstable and cause a server to crash.
==Usage==
==Usage==
After using [[plugin_print]] to determin plugin ID's if you want to unload a plugin you must type the following (in this instance we're unloading plugin #0)
After using [[plugin_print]] to determin plugin ID's if you want to unload a plugin you must type the following.


plugin_unload 0
{{syntax|plugin_unload <id>}}
You will get a confirmation message as follows:
You will get a confirmation message as follows:
  Unloaded plugin "0"
  Unloaded plugin "<id>"
==See Also==
==See Also==
* [[plugin_load]]
* [[plugin_load]]
[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 15:25, 19 May 2006

Template:Wrongtitle plugin_unload is used to unload a loaded plugin (depending on the plugin this may be unstable and cause a server to crash.

Usage

After using plugin_print to determin plugin ID's if you want to unload a plugin you must type the following.

Syntax: plugin_unload <id> You will get a confirmation message as follows:

Unloaded plugin "<id>"

See Also