Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:PrecacheGibs()

Description

Precaches gibs for the entity's model.

Normally this function should be ran when the entity is spawned, for example the ENTITY:Initialize, after Entity:SetModel is called.

This is required for Entity:GibBreakServer and Entity:GibBreakClient to work.

Returns

1 number gibCount
The amount of gibs the prop has

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...