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 8192 unique models. When it reaches the limit the game will crash.
Does nothing on the client.

Arguments

1 string modelName
The model to precache.