Garry's Mod Wiki

Entity:BoneHasFlag

  boolean Entity:BoneHasFlag( number boneID, number flag )

Description

Returns whether the entity's bone has the flag or not.

Arguments

1 number boneID
Bone ID to test flag of.
2 number flag
The flag to test, see BONE enum

Returns

1 boolean
Whether the bone has that flag or not