AMX Mod X API Documentation

Signature
native AutoExecConfig(bool:autoCreate = true, const name[] = "", const folder[] = "");
Description

Specifies that the given config file should be executed after plugin load.

Notes
  • OnConfigsExecuted() will not be called until the config file has executed,

    but it will be called if the execution fails.

  • The name parameter should not contain dots, otherwise file will not be executed.
Parameters
  • 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.

  • name Name of the config file, excluding the .cfg extension.

    If empty, is assumed.

  • folder Folder under plugins/ to use.
No return value
Назад
Верх