From 864c6d6aa45587f1ad0fa698568134466c5cc292 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Mon, 8 Mar 2004 17:27:18 +0000 Subject: [PATCH] added status to get_module --- plugins/include/amxmodx.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index a06c07d8..a200d579 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -536,10 +536,11 @@ native is_module_loaded(const name[]); * authorLen - maximal length of the author * version[] - the version of the module will be stored here * versionLen - maximal length of the version +* status - the status of the module will be stored here * Return value: * id - success * -1 - module not found */ -native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen); +native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status); /* Returns number of currently registered modules */ native get_modulesnum();