SetModelBoundingBox

Syntax

native SetModelBoundingBox(index, sequence = Model_DefaultSize);

Usage

entity
The entity index to set the value on.
sequence
The sequence to apply.
Model_DefaultSize sets size of ideal movement hull.
Model_CurrentSequence sets size of the current sequence.
Values >= 0 will specify which sequence to use.

Description

Sets size to a model bounding box.

Return

1 on success, 0 on faillure.

Error

Invalid entity.
Invalid model pointer.