From 163b4e870172eb3a6a3ffea857b21de9f813c21f Mon Sep 17 00:00:00 2001 From: OciXCrom Date: Sun, 31 Dec 2017 19:53:22 +0100 Subject: [PATCH 1/2] Update amxmodx.inc --- plugins/include/amxmodx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 475cbfee..ef8a4840 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -1824,7 +1824,7 @@ native task_exists(id = 0, outside = 0); * @error If the index is not within the range of 0 to MaxClients, an * error will be thrown. */ -native set_user_flags(index, flags = -1, id = 0, override = false); +native set_user_flags(index, flags = -1, id = 0, bool:override = false); /** * Returns the client's admin flags as a bitflag sum. From e2c7ecb18a824a5172e7a052f31e6b23fc2f0ca4 Mon Sep 17 00:00:00 2001 From: OciXCrom Date: Mon, 1 Jan 2018 19:47:38 +0100 Subject: [PATCH 2/2] Fixed misplaced param. --- plugins/include/amxmodx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index ef8a4840..3d6810ff 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -1819,6 +1819,7 @@ native task_exists(id = 0, outside = 0); * @param index Client index, 0 to set flags of server * @param flags Admin flags * @param id Flag set id, ranging from 0 to 31 + * @param override If set to true, all other flags will be removed * * @noreturn * @error If the index is not within the range of 0 to MaxClients, an @@ -1836,7 +1837,6 @@ native set_user_flags(index, flags = -1, id = 0, bool:override = false); * * @param index Client index, 0 to set flags of server * @param id Flag set id, ranging from 0 to 31 - * @param override If set to true, all other flags will be removed * * @noreturn * @error If the index is not within the range of 0 to MaxClients, an