Signature
native GetBonePosition(const entity, const bone, Float:vecOrigin[3], Float:vecAngles[3] = {0.0, 0.0, 0.0});
Description
Gets the position of the bone
Parameters
- entity — Entity index
- bone — Number of the bone
- vecOrigin — Array to store origin in
- vecAngles — Array to store angles in
Returns
1 on success, 0 otherwise
Errors
-
If the index is not within the range of 1 to maxEntities or
the entity is not valid, an error will be thrown.