AMX Mod X API Documentation

Signature
native param_convert(num);
Description

Converts a parameter to work as a by-reference parameter.

Deprecated

Style 1 natives are deprecated and should be converted to

style 0. This should not be used.

Notes
  • This only needs to be called if the native was registered with style 1.
  • Remember that arrays (and strings) are always by-reference and need to

    be converted.

Parameters
  • num Argument to convert, starting from 1
No return value
Errors
  • If used outside of a native callback, or the native was

    created with style 0, an error will be thrown.

Назад
Верх