Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:FindBodygroupByName( string name )

Description

Searches for bodygroup with given name.

If called for Weapon (after Initialize hook) with different body groups on world model and view model will return value form view model.

Arguments

1 string name
The bodygroup name to search for.

Returns

1 number
Bodygroup ID, -1 if not found

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...