Garry's Mod Wiki

Entity:GetFlexBounds

  number, number Entity:GetFlexBounds( number flex )

Description

Returns acceptable value range for the flex controller, as defined by the model.

Used with Entity:SetFlexWeight.

Arguments

1 number flex
The ID of the flex to look up bounds of

Returns

1 number
The minimum value for this flex
2 number
The maximum value for this flex