Garry's Mod Wiki

Revision Difference

Entity:GetFlexName#551630

<function name="GetFlexName" parent="Entity" type="classfunc"> <description>Returns flex name.</description> <realm>Shared</realm> <args> <arg name="id" type="number">The flex id to look up name of</arg>⤶ <arg name="id" type="number">The flex index to look up name of. The range is between `0` and <page>Entity:GetFlexNum</page> - 1.</arg>⤶ </args> <rets> <ret name="" type="string">The flex name</ret>⤶ <ret name="" type="string">The flex name, or <page>no value</page> if the requested ID is out of bounds.</ret>⤶ </rets> </function>