Garry's Mod Wiki

file.Delete

file.Delete

file.Delete( string name )

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

1 string name
The file name.

Example

Deletes data/helloworld.txt file.

file.Delete( "helloworld.txt" )

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 7