after the server is started, the settings file for the plugin is read after the map change, i.e. from the second map. Is there any subtlety to the plugin to take new values immediately after starting the server ?
Code example:
PHP Code:
public OnPluginStart()
{
CreateConVar("sm_dod_version", PLUGIN_VERSION, "name info version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
the variables created through CreateConVar
HookEvent("dod_stats_player_damage", PlayerDamageEvent);
AutoExecConfig(true, "namefile")
}
Maybe there is some subtlety in writing to the new values from the settings file for the plugin immediately began to "work" , and not as I have now after changing the map ?
As for me, I could say a beginner script in SP.
Sorry for bad english.