1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Team Code For Plugin games

Discussion in 'Development' started by MadeUpadanaYT, Mar 6, 2017.

  1. MadeUpadanaYT

    MadeUpadanaYT Spider

    Messages:
    12
    if we the red team we can not beat fellow team but the foam hit the other team
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You could save the name of each player in separate arrays, and on EntityDamageByEntityEvent, check if both the Entity's and the Damager's names are in the same array. If they are, you can cancel the event.
     
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    First you have to define "team". How is a team created? Is it temporary? Did you implement the team system already?
     
    jasonwynn10 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.