GetBodygroup

Syntax

native GetBodygroup(const entity, const group);

Usage

Parameter Description
entity
Entity index
group
Number of entity's model group index

Description

Gets body group value based on entity's model group

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.