04.02.2010, 12:04
Then it's something like this:
pawn Код:
if(PlayerInfo[playerid][pMember] == _YOUR_TEAM_ID || PlayerInfo[playerid][pLeader] == _YOUR_TEAM_ID) // _YOUR_TEAM_ID should be 3 if you have Army faction defined as ID 3.
{
// other code for the command.
}