I found this snippet of code on rAthena that when an MVP spawns on his natural map, the pvp mode goes on, when the mvp dies, off.
if( md->state.boss ) {
map_setmapflag(bl->m, MF_PVP, true);
}
I'm having a source error with "map_setmapflag(bl->m, MF_PVP, true);"
Tried using...