Garry's Mod Wiki


Entity:SetBodyGroups( string bodygroups )


Sets the bodygroups from a string. A convenience function for Entity:SetBodygroup.


1 string bodygroups
Body groups to set. Each single-digit number in the string represents a separate bodygroup. This make it impossible to set any bodygroup to a value higher than 9! For that you need to use Entity:SetBodygroup.


Example of the format

Entity(1):SetBodyGroups( "021" )
Output: Sets first bodygroup value to 0, second to 2 and third to 1.

Page Links

Special Pages



Render Time: 63ms

DB GetPage 36
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 6