Garry's Mod Wiki

Revision Difference

Entity:GetFlexNum#551629

<function name="GetFlexNum" parent="Entity" type="classfunc"> <description>Returns the number of flexes this entity has.</description>⤶ <description>Returns the number of flex controllers this entity's model has.⤶ <note>Please note that while this function can return the real number of flex controllers, the game supports only a certain amount due to networking limitations. See <page>Entity:SetFlexWeight</page>.</note>⤶ ⤶ </description>⤶ <realm>Shared</realm> <rets> <ret name="" type="number">The number of flexes.</ret> </rets> </function>