ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getBoneName

Function

getBoneName

ServerPedsTrilogy Hub only

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))

See also