Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:LookupAttachment( string attachmentName )

Description

Returns the attachment index of the given attachment name.

Arguments

1 string attachmentName
The name of the attachment.

Returns

1 number
The attachment index, or 0 if the attachment does not exist and -1 if the model is invalid.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...