From a87eb50441ccfc14cb4200b031ae82fab9392bcc Mon Sep 17 00:00:00 2001 From: Cleverson Date: Wed, 11 Jul 2018 19:09:23 -0300 Subject: [PATCH] Fix missing register_event() reference on event_enable/disable descriptions (#491) Lack register_event() on enable_event and disable_event descriptions --- 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 f99b2089..94a51abb 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -587,7 +587,7 @@ native register_event_ex(const event[], const function[], RegisterEventFlags:fla /** * Enables a function hook of a game event which has been previously registered with register_event_ex(). * - * @param handle Value returned from register_event_ex() + * @param handle Value returned from register_event() or register_event_ex() * * @noreturn * @error If an invalid handle is provided, an error will be thrown. @@ -597,7 +597,7 @@ native enable_event(handle); /** * Disables a function hook of a game event which has been previously registered with register_event_ex(). * - * @param handle Value returned from register_event_ex() + * @param handle Value returned from register_event() or register_event_ex() * * @noreturn * @error If an invalid handle is provided, an error will be thrown.