diff -r 2b1bf332bf41 -r f72386298cba doc/html/coding.html --- a/doc/html/coding.html Fri Feb 18 20:52:34 2005 +0000 +++ b/doc/html/coding.html Tue Aug 23 20:31:28 2005 +0000 @@ -352,6 +352,28 @@ The returned string is a pointer to a static buffer, and should be copied by the caller to local storage. [added in 1.14] +

  • + int LOAD_PLUGIN(PLID, const char *name, PLUG_LOADTIME now, void **handle) +
    Attempts to load a plugin as if "meta load <name>" was passed. If + handle is passed, it will be NULL on failure or contain the DLL handle on success. + Returns 0 for success, non-zero Metamod error value for failure. + [added in 1.18] +

  • + int UNLOAD_PLUGIN(PLID, const char *name, PLUG_LOADTIME now, PL_UNLOAD_REASON reason) +
    Attempts to unload a plugin given by name. A plugin cannot unload itself. + Returns 0 for success, non-zero Metamod error value for failure. + [added in 1.18] +

  • + int UNLOAD_PLUGIN_BY_HANDLE(PLID, void *handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason) +
    Attempts to unload a plugin given by the DLL handle from LOAD_PLUGIN. A plugin cannot unload itself. + Returns 0 for success, non-zero Metamod error value for failure. + [added in 1.18] +

  • + const char *IS_QUERYING_CLIENT_CVAR(PLID, const edict_t +*player) +
    Returns the current cvar name that a client is being queried for, + NULL if no queries are in session. + [added in 1.18]