Garry's Mod Wiki

Entity:BoneLength

number Entity:BoneLength( number boneID )

Description

This function takes the boneID and returns the length of it in an unrounded decimal

Arguments

1 number boneID
The ID of the bone you want the length of. You may want to get the length of the next bone ( boneID + 1 ) for decent results

Returns

1 number
The length of the bone

Example

Returns first bones length of first player on the server

print( player.GetByID( 1 ):BoneLength( 1 ) )
Output: Returns 0

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 2
Generate Html 6
SaveChanges (1) 8
Render Body 0
Render Sidebar 12