Garry's Mod Wiki

Entity:PrecacheGibs

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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 11
Render Body 0
Render Sidebar 6