GetModelBoundingBox

Синтаксис

native GetModelBoundingBox(entity, Float:mins[3], Float:maxs[3], sequence = Model_DefaultSize);

Употреба

entity
The entity index to use.
mins
The local negative bounding box distance.
maxs
The local positive bounding box distance.
sequence
The animation sequence to retrieve.
Model_DefaultSize retrieves ideal moevement hull size.
Model_CurrentSequence retrieves hull size of the current sequence.
Values >= 0 will specify which sequence to retrieve size from.

Описание

Gets size of a model bounding box.

Връщаща стойност

1 on success, 0 on faillure.

Грешка

Invalid entity.
Invalid model pointer.