Wieso Klappt mein Departement Chat nicht?
Postman:
else if(gTeam[playerid] == 26 || PlayerInfo[playerid][pLeader]== 26)
{
format(string, sizeof(string), "** Postmen %s: %s, over. **", sendername, result);
SendTeamMessage(1, COLOR_ALLDEPT, string);
SendTeamMessage(2, COLOR_ALLDEPT, string);
SendTeamMessage(3, COLOR_ALLDEPT, string);
SendTeamMessage(4, COLOR_ALLDEPT, string);
SendTeamMessage(14, COLOR_ALLDEPT, string);
SendTeamMessage(15, COLOR_ALLDEPT, string);
SendTeamMessage(18, COLOR_ALLDEPT, string);
printf("%s", string);
return 1;
}
Noch als Leader der /f chat nur wenn man Invitet geht der /f
else if(member==26)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Boss %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Underboss %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Manager %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Senior Postmen %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Postmen %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Trainee %s: %s. )) **", sendername, result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_AZTECAS_COLOR, string);
}