07.04.2011, 12:43
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
Then in a command
Yes this makes error, but I want a working code like this, i dont expect that code there 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}
};
pawn Код:
new teamrandom = random(sizeof(SetTeamm));
SetPlayerTeam(i, SetTeam[SetTeam][100], SetTeam[SetTeam][101]);