Garry's Mod Wiki

PrecacheSentenceFile

PrecacheSentenceFile( string filename )

Description

Load and precache a custom sentence file.

Arguments

1 string filename
The path to the custom sentences.txt.

Example

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

PrecacheSentenceFile( "data/customsentences.txt" )
Output: Loads and precaches the sentences.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6