PrecacheSentenceFile Function

Precaches a given sentence file.

int PrecacheSentenceFile(const char[] file, bool preload)

Parameters

const char[] file

Name of the sentence file to precache.

bool preload

If preload is true the file will be precached before level startup.

Return Value

Returns a sentence file index.