Thread: check team

Results 1 to 2 of 2
  1. #1
    testy's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    1
    My Mood
    Happy

    check team

    hey guys,
    how can i check if the player is in team A or B?
    thanks

  2. #2
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic
    if ( self.pers["team"] == game["attackers"] )
    {
    // your code
    }
    else
    {
    // your code
    }