Garry's Mod Wiki

util.PrecacheModel

  util.PrecacheModel( string modelName )

Description

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

Model pre-caching is limited to 8192 unique models. When it reaches the limit, the game will crash.
Does nothing on the client.

See also Model

Arguments

1 string modelName
The model to precache.