Garry's Mod Wiki

duplicator.DoFlex

void duplicator.DoFlex( Entity ent, table flex, number scale = nil )

Description

Restores the flex data using Entity:SetFlexWeight and Entity:SetFlexScale

Arguments

1 Entity ent
The entity to restore the flexes on
2 table flex
The flexes to restore
3 number scale = nil
The flex scale to apply. (Flex scale is unchanged if omitted)

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 6