Signature
native precache_generic(const szFile[]);
Description
Precaches a generic file.
Notes
- Can only be used inside of the plugin_precache() forward.
- Precaching sounds with this will not add them to the engine sound table.
Parameters
- szFile — Path to the file
Returns
Unique cache id of the file
Errors
-
If called outside of the plugin_precache() forward, an error
is thrown.