Garry's Mod Wiki

CEffectData:SetAttachment

CEffectData:SetAttachment( number attachment )

Description

Sets the attachment id of the effect to be created with this effect data.

This is internally stored as an integer, but only the first 5 bits will be networked, effectively limiting this function to 0-31 range.

Arguments

1 number attachment
New attachment ID of the effect.

Page Links


Special Pages


Wikis

?

Render Time: 58ms

DB GetPage 30
Generate Html 1
SaveChanges (1) 17
Render Body 0
Render Sidebar 7