file.CreateDir
From GMod Wiki
Function | |
Syntax |
file.CreateDir( String dir ) Where is this used? |
Description: | |
Create a directory. | |
Returns: | nil |
Part of Library: | File |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=File.CreateDir]File.CreateDir [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example creates the directory "my_mod" |
---|---|
Used on | |
Code | file.CreateDir("my_mod") |
Output | N/A |
Additional Notes
- A new folder can only be created in the data folder.