diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 98630819..1a791139 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -808,7 +808,7 @@ native show_menu(index, keys, const menu[], time = -1, const title[] = ""); * (truncated) to an integer * 2 - Returns the number of cells written to the buffer */ -native read_data(value, any:...); +native read_data(any:value, any:...); /** * Returns the number of values in the client message. diff --git a/plugins/include/messages.inc b/plugins/include/messages.inc index c0ef1569..268b17af 100644 --- a/plugins/include/messages.inc +++ b/plugins/include/messages.inc @@ -496,7 +496,7 @@ native get_msg_args(); * * @return Argument type (see ARG_* constants in message_const.inc) */ -native get_msg_argtype(argn); +native get_msg_argtype(any:argn); /** * Gets the integer value of a specified argument. @@ -510,7 +510,7 @@ native get_msg_argtype(argn); * @error If an invalid message argument is passed, an * error will be thrown. */ -native get_msg_arg_int(argn); +native get_msg_arg_int(any:argn); /** * Gets the float value of a specified argument. @@ -524,7 +524,7 @@ native get_msg_arg_int(argn); * @error If an invalid message argument is passed, an * error will be thrown. */ -native Float:get_msg_arg_float(argn); +native Float:get_msg_arg_float(any:argn); /** * Gets the string value from a specified argument. @@ -540,7 +540,7 @@ native Float:get_msg_arg_float(argn); * @error If an invalid message argument is passed, an * error will be thrown. */ -native get_msg_arg_string(argn, szReturn[], iLength); +native get_msg_arg_string(any:argn, szReturn[], iLength); /** * Sets the integer value of a specified argument. @@ -556,7 +556,7 @@ native get_msg_arg_string(argn, szReturn[], iLength); * @error If an invalid message argument is passed, an * error will be thrown. */ -native set_msg_arg_int(argn, argtype, iValue); +native set_msg_arg_int(any:argn, argtype, iValue); /** * Sets the float value of a specified argument. @@ -572,7 +572,7 @@ native set_msg_arg_int(argn, argtype, iValue); * @error If an invalid message argument is passed, an * error will be thrown. */ -native set_msg_arg_float(argn, argtype, Float:fValue); +native set_msg_arg_float(any:argn, argtype, Float:fValue); /** * Sets the string value of a specified argument. @@ -587,7 +587,7 @@ native set_msg_arg_float(argn, argtype, Float:fValue); * @error If an invalid message argument is passed, an * error will be thrown. */ -native set_msg_arg_string(argn, const szString[]); +native set_msg_arg_string(any:argn, const szString[]); /** * Gets the origin of a message.