if(strcmp(cmd, "/family", true) == 0 [img]https://breadfish.de/wcf/images/smilies/tired.png[/img] strcmp(cmd, "/f", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Du kannst nicht sprechen, du wurdest gemutet!");
return 1;
}
if(PlayerInfo[playerid][pGangJailed] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Du kannst nichts ins Familienchat schreiben!");
return 1;
}
if(PlayerTied[playerid] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Du kannst nichts ins Familienchat schreiben!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "BENUTZUNG: (/f)amily [familien chat]");
return 1;
}
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if( (member >= 5 && member <= 24) [img]https://breadfish.de/wcf/images/smilies/tired.png[/img] (leader >= 5 && leader <= 24) )
if(member != 7 && leader != 7)
{
if(member==1)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Chief of Police %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Deputy Chief %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Assistant Chief %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Commander %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Sergeant %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Inspector %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Deputy Inspector %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Lead Officeer %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Deputy Lead Officer %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Officer %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Police Officer Trainee %s: %s ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==2)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( FBI Director %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Deputy Director %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Chief of Staff %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Special Agent in Charge %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Section Chief %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( NSB Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( SFC Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( DEA Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Senior Special Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Special Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Probationary Agent %s: %s ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==3)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Sheriff %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Stellv Cherif %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Agent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Elite-Trupp %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Ausbilder %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Einweiser %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Einsatzleiter %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Urlauber %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Festangestellter %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Praktikant %s: %s ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==24)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Ordnungsamt Direktor %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Ordnungsamt Vizedirektor %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Ordnungsamt Ausbilder %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Ordnungsamt Vorstand %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Ordnungshüter %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( -Nicht vergeben- %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Ordnungsamt Kontrolleur %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Ordnungsamt Abschlepper %%s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Ordnungsamt Urlauber %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Ordnungsamt Lehrling %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Ordnungsamt Praktikant %s: %s ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==4)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Chefarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Stellv. Chefarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Leitender Oberarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Oberarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Facharzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Leitender Notarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Notarzt %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Rettungssanitäter %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Medizinstudent %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( LSMD Urlauber %s: %s ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( LSMD Praktikant %s: %s ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==5)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==6)//Anfang Yakuza
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}//Ende Yakuza
else if(member==8)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==9)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==10)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==11)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==12)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==13)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==14)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==15)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==16)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==17)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==18)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==19)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==20)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member == 21)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(member==23)
{
if(PlayerInfo[playerid][pRank] == 11) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 10) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == [img]https://breadfish.de/wcf/images/smilies/cool.png[/img] { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. )**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(( Unbesetzt %s: %s. ))**", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_Aztecas_COLOR, string);
}
else if(leader==1)
{
format(string, sizeof(string), "**(( Chief of Police %s: %s. ))**", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_Aztecas_COLOR, string);
}
else if(leader==2)
{
format(string, sizeof(string), "**(( FBI Director %s: %s. ))**", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_Aztecas_COLOR, string);
}
else if(leader==3)
{
format(string, sizeof(string), "**(( Sheriff %s: %s. ))**", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_Aztecas_COLOR, string);
}
else if(leader==24)
{
format(string, sizeof(string), "**(( Ordnungsamt Direktor %s: %s. ))**", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_Aztecas_COLOR, string);
}
else if(leader==4)
{
format(string, sizeof(string), "**(( Chefarzt %s: %s. ))**", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_Aztecas_COLOR, string);
}
}
Kann mir einer sagen warum die Frak ids 1,2,3,4,24 nicht schreiben kann es kommt keine Nachricht aber es zeigt nichts an