Garry's Mod Wiki

Revision Difference

util.PrecacheModel#568462

<function name="PrecacheModel" parent="util" type="libraryfunc"> <description> Precaches a model for later use. The model is cached after being loaded once. <warning> Model pre-caching is limited to 8192 unique models. When it reaches the limit, the game will crash. </warning> <note>Does nothing on the client.</note> ⤶ See also <page>Global.Model</page>⤶ </description> <realm>Shared</realm> <args> <arg name="modelName" type="string">The model to precache.</arg> </args> </function>