Garry's Mod Wiki

Entity:PrecacheGibs

Entity:PrecacheGibs

  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

Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 26
Generate Html 6
SaveChanges (1) 27
Render Body 0
Render Sidebar 7