random teams
#1

I have done like this to set random teams, and I know myself it wont work.
But I need help

I have done like this

pawn Код:
#define ATTACK 100
#define DEFENCE 101
pawn Код:
new SetTeam[][2] =
{
    {SetPlayerTeam, 100},
    {SetPlayerTeam, 101}
};
Then in a command

pawn Код:
new teamrandom = random(sizeof(SetTeamm));
SetPlayerTeam(i, SetTeam[SetTeam][100], SetTeam[SetTeam][101]);
Yes this makes error, but I want a working code like this, i dont expect that code there work ^^
Reply


Messages In This Thread
random teams - by fissekarl - 07.04.2011, 12:43
Re: random teams - by fissekarl - 07.04.2011, 14:32
Re: random teams - by Stigg - 07.04.2011, 14:32
Re: random teams - by alpha500delta - 07.04.2011, 14:50
Re: random teams - by fissekarl - 07.04.2011, 15:00
Re: random teams - by fissekarl - 08.04.2011, 08:39
Re: random teams - by [BKR]LUCAGRABACR - 08.04.2011, 12:10
Re: random teams - by fissekarl - 08.04.2011, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)