DHookReturn.Value Property

Retrieves or sets the return value. Use only for: int, entity, edict, bool or float return types.

An entity return type can be set to NULL using INVALID_ENT_REFERENCE (-1).

The return value is only readable in a post hook. The value is only applied when MRES_Override or MRES_Supercede is returned in the callback.

Usage

Type any
Getter Yes
Setter Yes