Quote:
Originally Posted by Dolph_Ziggler
Code:
new oldfile[] = "addons/amxmodx/abc.ini"
new newfile[] = "addons/amxmodx/xyz.ini"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
rename_file(oldfile, newfile)
}
maybe like that ?
|
Doesn't matter. The problem is that it can't rename the file, probably because of permission settings like Exolent said. I had the same problem before with deleting a file.
__________________