Garry's Mod Wiki

Entity:GetFlexName

  string Entity:GetFlexName( number id )

Description

Returns flex name.

Arguments

1 number id
The flex index to look up name of. The range is between 0 and Entity:GetFlexNum - 1.

Returns

1 string
The flex name, or no value if the requested ID is out of bounds.