From d33f9ba2d42557c725bcbc214879da92f5048103 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Mon, 19 Feb 2007 06:29:02 +0000 Subject: [PATCH] Fixed am51083 - Comments in amxmodx.inc --- plugins/include/amxmodx.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index f1a49e5a..052a03df 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -67,8 +67,7 @@ forward client_command(id); /* Called when client is entering to a game. */ forward client_putinserver(id); -/* Sets informations about plugin. */ -native register_plugin(const plugin_name[],const version[],const author[]); +snative register_plugin(const plugin_name[],const version[],const author[]); /* Precache model. Can be used only in plugin_precache() function.*/ native precache_model(const name[]); @@ -607,6 +606,7 @@ native is_plugin_loaded(const name[]); /* Gets info about plugin by given index. * Function returns -1 if plugin doesn't exist with given index. * Note: the [...] portion should not be used, and is only for backward compatibility. + * Use index of -1 to use the calling plugin's ID. */ native get_plugin(index,filename[],len1,name[],len2,version[],len3,author[],len4,status[],len5,...);