AMX Mod X API Documentation

Signature
native set_msg_arg_float(argn, argtype, Float:fValue);
Description

Sets the float value of a specified argument.

Notes
  • This function will fail if used outside a hooked message scope, thus

    it should never be used unless inside a registered message function.

Parameters
  • argn Argument number
  • argtype Argument type (see ARG_* constants in message_const.inc)
  • fValue Argument value
No return value
Errors
  • If an invalid message argument is passed, an

    error will be thrown.

Назад
Верх