precache_model

Syntax

native precache_model(const name[]);

Usage

name
Path to the model file

Description

Precaches a model file.

Note

Can only be used inside of the plugin_precache() forward.

Return

Unique cache id of the model

Error

If called outside of the plugin_precache() forward, an error is
thrown.