Garry's Mod Wiki

TranslateDownloadableName

  string TranslateDownloadableName( string filename )

Description

We advise against using this. It may be changed or removed in a future update.
This is used internally - although you're able to use it you probably shouldn't.

Returns "Lua Cache File" if the given file name is in a certain string table, nothing otherwise.

Arguments

1 string filename
File name to test

Returns

1 string
"Lua Cache File" if the given file name is in a certain string table, nothing otherwise.