SetBodygroup

Syntax

native SetBodygroup(const entity, const group, const value);

Usage

Parameter Description
entity
Entity index
group
Number of entity's model group index
value
Value to assign

Description

Sets body group value based on entity's model group

Return

1 on success, 0 otherwise

Error

If the index is not within the range of 1 to maxEntities or
the entity is not valid, an error will be thrown.