11.08.2011, 18:57
If you still need help...
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/myteam", cmdtext, true, 10) == 0)
{
if (pTeam[playerid] == team_Army)
{
SendClientMessage(playerid,COLOR_0x33AA33AA, "You are a bad guy");
}
else if (pTeam[playerid] == team_Fbi)
{
SendClientMessage(playerid, 0x33AA33AA, "You are a good guy");
}
return 1;
}