native

SetHamParamEntity2

Syntax

native SetHamParamEntity2(which, value);

Description

Sets a parameter on the fly of the current hook. This has no effect in post hooks.
Use this on parameters that are entities.

Parameters

which Which parameter to change. Starts at 1, and works up from the left to right. 1 is always "this".
value The value to change it to.

Note

Same as SetHamParamEntity except the changes made by this native are reflected in the corresponding post forward.