Signature
native precache_model(const name[]);
Description
Precaches a model file.
Notes
- Can only be used inside of the plugin_precache() forward.
Parameters
- name — Path to the model file
Returns
Unique cache id of the model
Errors
-
If called outside of the plugin_precache() forward, an error is
thrown.