doc/html/coding.html
changeset 248 f72386298cba
parent 0 d15304fcb7a7
child 249 0e54d20d8f28
     1.1 --- a/doc/html/coding.html	Fri Feb 18 20:52:34 2005 +0000
     1.2 +++ b/doc/html/coding.html	Tue Aug 23 20:31:28 2005 +0000
     1.3 @@ -352,6 +352,28 @@
     1.4  	The returned string is a pointer to a static buffer, and should be
     1.5  	copied by the caller to local storage.
     1.6  	<i>[added in 1.14]</i>
     1.7 +<a name="LOAD_PLUGIN"><p><li></a>
     1.8 +<tt> int <b>LOAD_PLUGIN(PLID, <i>const char *name, PLUG_LOADTIME now, void **handle</i>)</b></tt>
     1.9 +    <br>Attempts to load a plugin as if "meta load &lt;name&gt;" was passed.  If
    1.10 +	handle is passed, it will be NULL on failure or contain the DLL handle on success.  
    1.11 +	Returns 0 for success, non-zero Metamod error value for failure.  
    1.12 +	<i>[added in 1.18]</i>
    1.13 +<a name="UNLOAD_PLUGIN"><p><li></a>
    1.14 +<tt> int <b>UNLOAD_PLUGIN(PLID, <i>const char *name, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.15 +	<br>Attempts to unload a plugin given by name.  A plugin cannot unload itself.
    1.16 +	Returns 0 for success, non-zero Metamod error value for failure.  
    1.17 +	<i>[added in 1.18]</i>
    1.18 +<a name="UNLOAD_PLUGIN_BY_HANDLE"><p><li></a>
    1.19 +<tt> int <b>UNLOAD_PLUGIN_BY_HANDLE(PLID, <i>void *handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.20 +	<br>Attempts to unload a plugin given by the DLL handle from LOAD_PLUGIN.  A plugin cannot unload itself.
    1.21 +	Returns 0 for success, non-zero Metamod error value for failure.  
    1.22 +	<i>[added in 1.18]</i>
    1.23 +<a name="IS_QUERYING_CLIENT_CVAR"><p><li></a>
    1.24 +<tt> const char *<b>IS_QUERYING_CLIENT_CVAR(PLID, <i>const edict_t
    1.25 +*player</i>)</b></tt>
    1.26 +	<br>Returns the current cvar name that a client is being queried for,
    1.27 +	NULL if no queries are in session.
    1.28 +	<i>[added in 1.18]</i>
    1.29  </ul>
    1.30  
    1.31  <p><br>