26.03.2013, 06:36
Hello,
I want to have 2 "groups" witch are in this case: group_one and group_two.
I got a timer that has a callback function and I need to have in the callback function a script that will put the player in either team_one or team_two. (Prefer auto asign)
So not on PlayerRequestClass or something but on my callback.
All things I want to happen after the countdown are listed in this callback:
Also I need something so I can see if someone is in team_one or team_two like:
Or something.
I've tried so much things but can't get the teams working.
Please help me if possible.
I want to have 2 "groups" witch are in this case: group_one and group_two.
I got a timer that has a callback function and I need to have in the callback function a script that will put the player in either team_one or team_two. (Prefer auto asign)
So not on PlayerRequestClass or something but on my callback.
All things I want to happen after the countdown are listed in this callback:
pawn Код:
forward CountdownMechanics();
public CountdownMechanics()
pawn Код:
If(pTeam[playerid] == team_one)
{
return 1;
}
I've tried so much things but can't get the teams working.
Please help me if possible.