Exemple si je joueur est policier tu mes
if(strcmp(cmdtext, "/commande", true) == 0 || strcmp(cmdtext, "/cmd", true) == 0)
if(gTeam[playerid] == TEAM_POLICE) // remplance Gteam par le systeme d'equipe que tu utilise .
{
SendClientMessage(playerid, COLOR_YELLOW"/Commande");
}
Bien sur tu dois definir COLOR YELLOW en haut du script :
#define COLOR_YELLOW 0xFFFF00AA