SetHamReturnEntity

Syntax

native SetHamReturnEntity(value);

Usage

value
The value to set the return to.

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.