native

SetHamReturnEntity

Syntax

native SetHamReturnEntity(value);

Description

Sets the return value of a hook that returns an entity. Set to -1 for null.
This needs to be used in conjunction with HAM_OVERRIDE or HAM_SUPERCEDE.

Parameters

value The value to set the return to.