PrecacheSentenceFile

From Garry's Mod
Jump to: navigation, search
 PrecacheSentenceFile( )

Contents

Description

Load and precache a custom sentence file.

Arguments

string filename

The path to the custom sentences.txt.

Examples

Example

Precache a file named "customsentences.txt" in the data directory.

PrecacheSentenceFile( "data/customsentences.txt" )

Output:

Loads and precaches the sentences.
Personal tools
Navigation