native
GetBodygroup
Syntax
native GetBodygroup(const entity, const group);
Description
Gets body group value based on entity's model group
Parameters
| entity | Entity index |
|---|---|
| group | Number of entity's model group index |
Return
Body group value
Error
If the index is not within the range of 1 to maxEntities or
the entity is not valid, an error will be thrown.