RELOAD_YES is set to 0 every time the server loads, it isn't saved between maps. Try a cvar instead.
Code:
#include <amxmodx>
public plugin_init() {
register_cvar("reload_yes","1");
if(get_cvar_num("reload_yes")) {
set_cvar_num("reload_yes",0);
server_cmd("reload");
}
}
The two things to note is that the 1 in register_cvar means that it will only be set to 1 the first time the cvar is created, not every time the plugin loads. The second thing is that the cvar is set before you tell the server to reload itself.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS