From c392f3cbbc6fa5b4eeb7c2f39c9d128d733db6be Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 22 Aug 2004 12:31:37 +0000 Subject: [PATCH] fixed description of is_module_loaded() and is_plugin_loaded() --- plugins/include/amxmodx.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 920cb761..a6f1ff45 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -555,8 +555,8 @@ native set_xvar_num( id, value = 0 ); * returned by get_xvar_id(...) native. */ native set_xvar_float( id, Float:value = 0.0 ); -/* Checks whether a module is loaded. If it is not, the return value is 0, otherwise -* the return value is non-zero. The function is case insensitive. */ +/* Checks whether a module is loaded. If it is not, the return value is -1, otherwise +* the return value is the module id. The function is case insensitive. */ native is_module_loaded(const name[]); /* Gets info about a module. @@ -577,8 +577,8 @@ native get_module(id, name[], nameLen, author[], authorLen, version[], versionLe /* Returns number of currently registered modules */ native get_modulesnum(); -/* Checks whether a plugin is loaded. If it is not, the return value is 0, otherwise -* the return value is non-zero. The function is case insensitive. */ +/* Checks whether a plugin is loaded. If it is not, the return value is -1, otherwise +* the return value is the plugin id. The function is case insensitive. */ native is_plugin_loaded(const name[]); /* Gets info about plugin by given index.