PvP Flag

Hello,

i have use the forum search but i found nothing.

i will set the PvP Flag off with c++. Can you me say how i can do that ?

i think i have it, is these the command ?


handler->GetSession()->GetPlayer()->UpdatePvP(false);

yes that is the command /emoticons/default_smile.png

/close