No it will not. Here are the lines that are important, I edited them so you can understand them better:
PHP Code:
new const CFG_FILE_NAME[] = "flash_remote_control.cfg"
new CFG_FILE[300]
PHP Code:
// Config file
new config[200]
// This function gives the location of the config dir from amxmodx
get_configsdir(config,199)
format(CFG_FILE,299,"%s/%s",config,CFG_FILE_NAME)
// Execute the cvars from the cfg
exec_cfg()
PHP Code:
// Cfg save system
public exec_cfg()
{
if(file_exists(CFG_FILE))
server_cmd("exec %s",CFG_FILE)
}
public save_cfg()
{
new file[2000]
format(file,1999,"echo [Flashbang Remote Control] Executing config file ...^n")
format(file,1999,"mp_friendlyfire 1^n")
format(file,1999,"%secho [Flashbang Remote Control] Settings loaded from config file",file)
delete_file(CFG_FILE)
write_file(CFG_FILE,file)
}
__________________