Garry's Mod Wiki

Revision Difference

Entity:SetBodygroup#544781

<function name="SetBodygroup" parent="Entity" type="classfunc"> <description>Sets an entities' bodygroup.</description>⤶ <description>Sets an entities' bodygroup.<note>If called for Weapon (after Initialize hook) with different body groups on world model and view model, check will occur by view model.</note>⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="bodygroup" type="number">The id of the bodygroup you're setting. Starts from 0.</arg> <arg name="value" type="number">The value you're setting the bodygroup to. Starts from 0.</arg> </args> </function>