native
SetBodygroup
Syntax
native SetBodygroup(const entity, const group, const value);
Description
Sets body group value based on entity's model group
Parameters
| entity | Entity index |
|---|---|
| group | Number of entity's model group index |
| value | Value to assign |
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.