Hi. I`m having a problem with reading config file.
When plugin is loaded on server, the new config is created, however it is not possible to read the list from config untill I reload plugin. So plugin does its work from second try only.
After first loading with new config created, it gives "error2", after reloading plugin with same config, it gives random value from list, as it has to.
Does somebody know how to fix a problem?
Solved Trouble reading my custom config
Discussion in 'Rust Development' started by kcaper_ua, Sep 7, 2016.
-
Attached Files:
-
-
Calytic Community Admin Community Mod
Code:void Loaded() { Config.Load(); } -
it seems to solve a proplem, thanx!
