Garry's Mod Wiki

Entity:FindBodygroupByName

Entity:FindBodygroupByName

  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

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7