Entity/LookupAttachment

From Garry's Mod
Revision as of 23:58, 4 May 2017 by Code gs (Talk | contribs)
Jump to: navigation, search
 Entity:LookupAttachment( )

Description

Gets the attachment index of the given attachment name, returns 0 if the attachment does not exist.

Arguments

string attachmentName

The name of the attachment.

Returns

number

attachmentIndex
Personal tools
Navigation