From c1cd99638af9b5341e5efe7e94fd3f7b86aebb13 Mon Sep 17 00:00:00 2001 From: OciXCrom Date: Wed, 25 Jul 2018 19:17:52 +0200 Subject: [PATCH] Update amxmisc.inc --- plugins/include/amxmisc.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 8d0abc77..7941006b 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -413,15 +413,15 @@ stock can_see_admin_name(id) { switch(get_activity_value()) { - case 0: return -1 - case 1: return 0 - case 2: return 1 - case 3: return is_user_admin(id) ? 1 : 0 - case 4: return is_user_admin(id) ? 1 : -1 - case 5: return is_user_admin(id) ? 0 : -1 + case 0: return -1; + case 1: return 0; + case 2: return 1; + case 3: return is_user_admin(id) ? 1 : 0; + case 4: return is_user_admin(id) ? 1 : -1; + case 5: return is_user_admin(id) ? 0 : -1; } - return -1 + return -1; } /**