Garry's Mod Wiki

util.PrecacheModel

util.PrecacheModel( string modelName )

Description

Precaches a model for later use. Model is cached after being loaded once.

Modelprecache is limited to 4096 unique models. When it reaches the limit the game will crash.

Arguments

1 string modelName
The model to precache.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

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