Garry's Mod Wiki

Entity:GetFlexIDByName

  number Entity:GetFlexIDByName( string name )

Description

Returns the ID of the flex based on given name.

Arguments

1 string name
The name of the flex to get the ID of. Case sensitive.

Returns

1 number
The ID of flex

  • nil if no flex with given name was found