diff --git a/plugins/include/adt_array.inc b/plugins/include/adt_array.inc index 8af2ed8c..d92a8cf4 100644 --- a/plugins/include/adt_array.inc +++ b/plugins/include/adt_array.inc @@ -280,14 +280,4 @@ native FindStringInArray(Handle:array, const String:item[]); * @return Array index, or -1 on failure * @error Invalid Handle */ -native FindValueInArray(Handle:array, item); - -/** - * Backwards compatible stock - Use FindStringInArray() - * @deprecated Replaced by FindStringInArray() - */ -#pragma deprecated Use FindStringInArray() instead -stock bool:IsStringInArray(Handle:array, const String:item[]) -{ - return (FindStringInArray(array, item) != -1); -} +native FindValueInArray(Handle:array, any:item); diff --git a/plugins/include/entity_prop_stocks.inc b/plugins/include/entity_prop_stocks.inc index 4d4fbfbc..b4b5cd64 100644 --- a/plugins/include/entity_prop_stocks.inc +++ b/plugins/include/entity_prop_stocks.inc @@ -322,15 +322,3 @@ stock GetClientButtons(client) { return GetEntProp(client, Prop_Data, "m_nButtons"); } - -#pragma deprecated Case change, use MoveType version -stock SetEntityMovetype(entity, any:mt) -{ - SetEntityMoveType(entity, MoveType:mt); -} - -#pragma deprecated Case change, use MoveType version -stock GetEntityMovetype(entity) -{ - return _:GetEntityMoveType(entity); -} diff --git a/plugins/include/functions.inc b/plugins/include/functions.inc index 8cd69bf4..1a77f7f1 100644 --- a/plugins/include/functions.inc +++ b/plugins/include/functions.inc @@ -487,35 +487,3 @@ native FormatNativeString(out_param, &written=0, String:out_string[]="", const String:fmt_string[]=""); - -/** - * Backwards compatibility stock - use GetNativeCell or GetNativeCellRef - * - * @deprecated - */ -#pragma deprecated Use GetNativeCell() or GetNativeCellRef() instead -stock Float:GetNativeFloat(param, bool:byref) -{ - if (!byref) - { - return Float:GetNativeCell(param); - } else { - return Float:GetNativeCellRef(param); - } -} - -/** - * Backwards compatibility stock - use GetNativeCell or GetNativeCellRef - * - * @deprecated - */ -#pragma deprecated Use GetNativeCell() or GetNativeCellRef() instead -stock Handle:GetNativeHandle(param, bool:byref) -{ - if (!byref) - { - return Handle:GetNativeCell(param); - } else { - return Handle:GetNativeCellRef(param); - } -} diff --git a/plugins/include/usermessages.inc b/plugins/include/usermessages.inc index 28f78318..79e0e229 100644 --- a/plugins/include/usermessages.inc +++ b/plugins/include/usermessages.inc @@ -50,17 +50,6 @@ enum UserMsg #define USERMSG_INITMSG (1<<3) /**< Message will be considered to be an initmsg */ #define USERMSG_BLOCKHOOKS (1<<7) /**< Prevents the message from triggering SourceMod and Metamod hooks */ -#pragma deprecated Constant has no effect -#define USERMSG_PASSTHRU (1<<0) /**< (DEPRECATED, NO EFFECT) */ -#pragma deprecated Constant has no effect -#define USERMSG_PASSTHRU_ALL (1<<1) /**< (DEPRECATED, NO EFFECT) */ -#pragma deprecated Constant has no effect -#define USERMSG_BLOCK_MM (1<<4) /**< (DEPRECATED, NO EFFECT) */ -#pragma deprecated Constant has no effect -#define USERMSG_BLOCK_SM (1<<5) /**< (DEPRECATED, NO EFFECT) */ -#pragma deprecated Constant has no effect -#define USERMSG_BLOCK_ALL (1<<6) /**< (DEPRECATED, NO EFFECT) */ - /** * @endsection */