Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetFlexWeight( number flex, number weight )

Description

Sets the weight/value of given flex controller.

Only 96 flex controllers can be set! Flex controllers on models with higher amounts will not be accessible.

Arguments

1 number flex
The ID of the flex to modify weight of. The range is between 0 and Entity:GetFlexNum - 1.
2 number weight
The new weight to set

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...