Garry's Mod Wiki

PrecacheSentenceFile

void 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: 20ms

Session 0
DB GetPage 2
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 6