Jump to content

[SOLVED] RemoveFromGroup


Sylvian

Recommended Posts

Hi,

I'm asking here to know if someone could help me to create a little patch. I just would like to remove player from his current group (if he has one) when he is entering in a FFA area.

I found the code who create the FFA state for player, but I don't know how to check the group and remove the player from it.

    // FFA_PVP flags are area and not zone id dependent
   // so apply them accordingly
   if (area && (area->flags & AREA_FLAG_ARENA))    {
       if (!isGameMaster())
           SetFFAPvP(true);

   }

Thanks for your help.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use