DHookSetReturn Function

Set return value (Use only for: int, entity, bool or float return types)

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

void DHookSetReturn(Handle hReturn, any value)

Parameters

Handle hReturn

Handle to return structure

any value

Value to set return as

Errors

Invalid Handle, invalid type.