Hallo Liebe Community ich hab ein Problem mit dem F-Chat und zwar soll die Fraktion 22 (Feuerwehr) denn F-Chat erlaubt bekommen
else if(member==22)//TurboRider
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "((** HardcoreRider %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "((** FullRider %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "((** FameRider %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "((** GelehrterRider %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "((** AnfängerRider %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "((** NewbieRider %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], 0x000067FF, string);
}
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if (gTeam[playerid] >= 22 || PlayerInfo[playerid][pFMember] < 255)
if( (member >= 5 && member <= 24) || (leader >= 5 && leader <= 24) )
if( member != 21 && leader != 21 && member != 7 && leader != 7 )
if( member != 22 && leader != 22 )
else if(leader==22)
{
format(string, sizeof(string), "((** HardcoreRider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x000067FF, string);
}