GetEntDataFloat Function

Peeks into an entity's object data and retrieves the float value at the given offset.

float GetEntDataFloat(int entity, int offset)

Parameters

int entity

Edict index.

int offset

Offset to use.

Return Value

Value at the given memory location.

Errors

Invalid entity or offset out of reasonable bounds.