Question Help: Big Problem, with script..
#9

Use AddPlayerClassEx, its the same as AddPlayerClass just that is got an extra team parameter

pawn Код:
//
    new
        team = 0
    ;
    AddPlayerClassEx(team, 274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(team, 276, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(team, 275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

    team++; // next team

    AddPlayerClassEx(team, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(team, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(team, 227, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

    team++; // next team

    AddPlayerClassEx(team, 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(team, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

//...

    SetTeamCount(++team); // optional, check the wiki for more information about this function
I never used AddPlayerClassEx so I cant tell if the teams are already set in OnPlayerRequestClass
Reply


Messages In This Thread
Question Help: Teams System Problem. - by Speed++ - 30.06.2012, 00:40
Re: Question Help: Big Problem, with script.. - by Faisal_khan - 30.06.2012, 01:54
Re: Question Help: Big Problem, with script.. - by [A]ndrei - 30.06.2012, 06:28
Re: Question Help: Big Problem, with script.. - by Speed++ - 30.06.2012, 11:06
Re: Question Help: Big Problem, with script.. - by [MM]RoXoR[FS] - 30.06.2012, 12:00
Re: Question Help: Big Problem, with script.. - by Speed++ - 30.06.2012, 12:36
Re: Question Help: Big Problem, with script.. - by MadeMan - 30.06.2012, 16:45
Re: Question Help: Big Problem, with script.. - by Speed++ - 30.06.2012, 16:57
AW: Question Help: Big Problem, with script.. - by Nero_3D - 30.06.2012, 23:43

Forum Jump:


Users browsing this thread: 1 Guest(s)