AutoExecConfig

Last Updated2016-05-21
Created At2007-06-18

Specifies that the given config file should be executed after plugin load. OnConfigsExecuted() will not be called until the config file has executed, but it will be called if the execution fails.

native void AutoExecConfig(bool autoCreate = true, const char[] name = "", const char[] folder = "sourcemod")

Parameters

bool autoCreate
If true, and the config file does not exist, such a config file will be automatically created and populated with information from the plugin's registered cvars.
const char[] name
Name of the config file, excluding the .cfg extension. If empty, <plugin.filename.cfg> is assumed.
const char[] folder
Folder under cfg/ to use. By default this is "sourcemod."

Return Value

void