GetEntPropArraySize Function

Retrieves the count of values that an entity property's array can store.

int GetEntPropArraySize(int entity, PropType type, const char[] prop)


int entity

Entity/edict index.

PropType type

Property type.

const char[] prop

Property name.

Return Value

Size of array (in elements) or 0 if property is not an array.


Invalid entity or property not found.