file.Delete

From Garry's Mod
Jump to: navigation, search
 file.Delete( )

Contents

Description

Deletes a file or empty folder that is relative to the data folder. You can't remove any files outside of data folder.

Arguments

string name

The file name

Examples

Example

Deletes data/helloworld.txt file.

file.Delete( "helloworld.txt" )


Personal tools
Navigation