Garry's Mod Wiki

Revision Difference

SpawnIcon:SetBodyGroup#545989

<function name="SetBodyGroup" parent="SpawnIcon" type="panelfunc"> <description> <internal>This is done automatically by SpawnIcon. You do not need to call this. Doing so may cause unforeseen consequences.</internal> Sets the bodygroups, so it can be retrieved with <page>SpawnIcon:GetBodyGroup</page>. Use <page>Panel:SetModel</page> instead. </description> <realm>Client</realm> <args> <arg type="string" name="bodygroup">Body groups to set. It must be 9 character long string of 0-9 characters.</arg> <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>