- Documentation
- Server functions
- getBoneName
Function
getBoneName
Returns the English name of the bone with the given number, e.g. 8 → "Head", 25 → "RightHand", 2 → "Pelvis". Returns false when the number does not exist.
Syntax
string getBoneName(int bone)Arguments
boneint- Bone number (as in
getBoneIDs).
Returns
Bone name, or false.
Example
outputServerLog(getBoneName(8))