From 5f7dabf9b60aa74f7e4fd9189bd316b4a41bb521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Sat, 15 Jan 2005 12:24:14 +0000 Subject: [PATCH] *cough* --- plugins/include/amxmisc.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index aeaeda17..702624e6 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -174,9 +174,9 @@ stock AddMenuItem_call(const MENU_TEXT[], const MENU_CMD[], const MENU_ACCESS, c new bool:failed = true switch (status) { case 1: failed = false - case 0: log_amx("Run time error!") - case -2: log_amx("Function not found!") - case -1: log_amx("Plugin not found!") + case 0: log_amx("Run time error! (AddMenuItem_call failed)") + case -2: log_amx("Function not found! (AddMenuItem_call failed)") + case -1: log_amx("Plugin not found! (AddMenuItem_call failed)") } if (failed) return