Results 1 to 4 of 4
  1. #1
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115

    [SOLVED] Give one team specific things

    How would I do this?
    I got this greeeeat idea but I'd require to know how to do this. Anyone know?
    Like, quite easy to understand..
    Lookin at some mods, im liek wtfff thats aloooot - I want to give one specific weapon and spawnpoint. Thats it
    Last edited by Insane; 09-11-2010 at 05:11 PM.

  2. #2
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    136
    My Mood
    Aggressive
    As far as I understand you want to give specific things to every team. If thats correct then you can do
    Code:
    if(self.pers["team"]==game["defenders"])
    {
    do blablabla;
    }
    else if(self.pers["team"]==game["attackers"])
    {
    do blablablabla;
    }
    Or you can do it with axis/allies like
    Code:
    if (self.sessionteam == "allies")
    {
    do blabla;
    }
    else if (self.sessionteam == "axis")
    {
    do blaba
    }
    Remember that while switching sides you switch the game sides (attacker/defender) but you dont switch the actual team (axis/allies)
    Last edited by zxz0O0; 09-11-2010 at 04:18 PM.

  3. #3
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    2,001
    /Marked as Solved

  4. #4
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Meh, I'll never manage...
    I'll see what I can do though.

Similar Threads

  1. [Solved] pls give one Injektoir
    By qq632974202 in forum CrossFire Help
    Replies: 0
    Last Post: 06-12-2011, 04:57 AM
  2. [SOLVED]Give all joined players killstreak rewards
    By elmasmalo1 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 08-23-2010, 03:33 AM
  3. Changing teams through and one team dmg - GSC
    By master131 in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 08-23-2010, 12:16 AM
  4. More then 9 players in one team?
    By shotyoudie in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-19-2010, 04:04 AM
  5. [SOLVED] [REQUEST] Switch team hack?
    By BananaBoy223 in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 06-20-2010, 06:14 AM