Garry's Mod Wiki

Entity:SetBodygroup

Entity:SetBodygroup

  Entity:SetBodygroup( number bodygroup, number value )

Description

Sets an entities' bodygroup.

If called for Weapon (after Initialize hook) with different body groups on world model and view model, check will occur by view model.

Arguments

1 number bodygroup
The id of the bodygroup you're setting. Starts from 0.
2 number value
The value you're setting the bodygroup to. Starts from 0.

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 34
Generate Html 2
SaveChanges (1) 16
Render Body 0
Render Sidebar 7