Garry's Mod Wiki

Revision Difference

Entity:GetFlexIDByName#549441

<function name="GetFlexIDByName" parent="Entity" type="classfunc"> <description>Returns the ID of the flex based on given name.</description>⤶ <description>Returns the ID of the flex based on given name. <note>This function will search by beginning of a name.</note>⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="name" type="string">The name of the flex to get the ID of. Case sensitive.</arg> </args> <rets> <ret name="" type="number">The ID of flex * nil if no flex with given name was found</ret> </rets> </function>