param_convert
Syntax
native param_convert(num);
Usage
| Parameter | Description |
|---|---|
| num | Argument to convert, starting from 1 |
Description
Converts a parameter to work as a by-reference parameter.
This function has been deprecated, do NOT use it
Reason: Style 1 natives are deprecated and should be converted to style 0. This should not be used.
Note
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.
Return
This function has no return value.
Error
If used outside of a native callback, or the native was created with style 0, an error will be thrown.