precache_generic

Синтаксис

native precache_generic(const szFile[]);

Употреба

szFile
Path to the file

Описание

Precaches a generic file.

Забележка

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

Забележка

Precaching sounds with this will not add them to the engine sound table.

Връщаща стойност

Unique cache id of the file

Грешка

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