01.01.2012, 19:51
Quote:
U r not understanding I have already done this.how do I switch the players team.its not a rank its a different team.
If u can't understand then answer this and i'll just modify the code.tel me how can I change players team from blue to red after spawn with if. So if player is in red change to blue and if in blue change to red |
pawn Code:
if(gTeam[playerid] == TEAM_BLUE)
{
gTeam[playerid] = MEDIC_BLUE;
SetPlayerColor(playerid, COLOR_BLUE);
GameTextForPlayer(playerid, "~w~You have been switched to team~n~~b~Blue",2500,6);
}