Teams
#4

Ok then,you have already TEAM_RED and TEAM_BLUE?

We suppose that the player choose TEAM_BLUE,so medic is a RANK (that's how i call it to avoid confusion in the server),you can make an IF and set the MEDIC_RED or MEDIC_BLUE.Example:

pawn Code:
if(gTeam[playerid] == TEAM_BLUE) {
SetPlayerColor(playerid,COLOR_BLUE);
SendClientMessage(playerid,COLOR_BLUE,"You are a medic of your blue team now!");
{
return 0;
}
}
else if(gTeam[playerid] == TEAM_GERMANY)
{
//Blabla
Something like this?
Reply


Messages In This Thread
Teams - by §с†¶e®РµРe - 01.01.2012, 17:56
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 18:23
Re: Teams - by Bogdan1992 - 01.01.2012, 19:14
Re: Teams - by Face9000 - 01.01.2012, 19:15
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:23
Re: Teams - by Face9000 - 01.01.2012, 19:31
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:33
Re: Teams - by Face9000 - 01.01.2012, 19:34
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:37
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:39
Re: Teams - by Face9000 - 01.01.2012, 19:41
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:47
Re: Teams - by Face9000 - 01.01.2012, 19:51
Re: Teams - by §с†¶e®РµРe - 01.01.2012, 19:52
Re: Teams - by Face9000 - 01.01.2012, 19:59

Forum Jump:


Users browsing this thread: 2 Guest(s)