GetEntSendPropOffs Function

Wrapper function for finding a send property for a particular entity.

int GetEntSendPropOffs(int ent, const char[] prop, bool actual)

Parameters

int ent

Entity index.

const char[] prop

Property name.

bool actual

Defaults to false for backwards compatibility. If true, the newer FindSendPropInfo() function is used instead.

Return Value

An offset, or -1 on failure.