Raised This Month: $29 Target: $400

AutoExecConfig does not run

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Senior Member
Join Date: Mar 2015
Old 06-11-2021 , 11:47   AutoExecConfig does not run
Reply With Quote #1

the problem is that it does not create the configuration folder and does not execute the cvars in OnConfigsExecuted, is there any way to run there?

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
// Add your code here...


666 is offline
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-11-2021 , 21:54   Re: AutoExecConfig does not run
Reply With Quote #2

I think you're configuring it to automatically execute configs after the configs have already executed. Therefore, it won't ever execute the configs. You need to call AutoExecConfig() in plugin_init(). Then, you can read the settings that were executed in or after OnConfigsExecuted().
fysiks is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 13:42.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode