Beiträge von DerFamer

    if(dialogid == DIALOG_SPAWNCHANGE)
    {
    if(response)
    {
    if(listitem == 0)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Du Spawnst absofort am Hauptbahnhof LS");
    SpawnChange[playerid] = 0;
    }
    if(listitem == 1)
    {
    SendClientMessage(playerid,COLOR_GREEN,"Du Spawnst absofort an deiner Wohnung, sofern du eine besitzt");
    SpawnChange[playerid] = 1;
    }
    if(listitem == 2)
    {
    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) return SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied einer Fraktion, Gang oder Mafia");
    PlayerInfo[playerid][pSpawnChange] = 2;
    SendClientMessage(playerid,COLOR_RED,"Du spawnst absofort in der Base deiner Fraktion.");
    }
    return 1;
    }
    }



    Es klappt trotzdem nicht es kommt wider die selbe Sache.

    if(PlayerInfo[playerid][pMember][pLeader] == 0) return SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied einer Fraktion, Gang oder Mafia");



    wo?

    if(dialogid == DIALOG_SPAWNCHANGE)
    {
    if(response)
    {
    if(listitem == 0)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Du Spawnst absofort am Hauptbahnhof LS");
    SpawnChange[playerid] = 0;
    }
    if(listitem == 1)
    {
    SendClientMessage(playerid,COLOR_GREEN,"Du Spawnst absofort an deiner Wohnung, sofern du eine besitzt");
    SpawnChange[playerid] = 1;
    }
    if(listitem == 2)
    {
    if(PlayerInfo[playerid][pMember] == 0) return SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied einer Fraktion, Gang oder Mafia");
    PlayerInfo[playerid][pSpawnChange] = 2;
    SendClientMessage(playerid,COLOR_RED,"Du spawnst absofort in der Base deiner Fraktion.");
    }
    return 1;
    }
    }


    Wen ich spawnchange mache kommt das ich kein Mitglied einer Fraktion bin bin aber Leader (pLeader)?

    ocmd:spawnchange(playerid,params[])
    {
    ShowPlayerDialog(playerid,DIALOG_SPAWNCHANGE,DIALOG_STYLE_LIST,"Spawn-Ort","Hauptbahnhof LS\nWohnung\nFraktion\n","Ok"," ");
    return 1;
    }






    if(dialogid == DIALOG_SPAWNCHANGE)
    {
    if(response)
    {
    if(listitem == 0)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Du Spawnst absofort am Hauptbahnhof LS");
    PlayerInfo[playerid][pSpawnChange] = 0;
    }
    if(listitem == 1)
    {
    SendClientMessage(playerid,COLOR_GREEN,"Du Spawnst absofort an deiner Wohnung, sofern du eine besitzt");
    if(PlayerInfo[playerid][pPhousekey] != 999)
    PlayerInfo[playerid][pSpawnChange] = 1;
    }
    if(listitem == 2)
    {
    SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied einer Fraktion, Gang oder Mafia");
    if(PlayerInfo[playerid][pMember] > 0)
    PlayerInfo[playerid][pSpawnChange] = 2;
    }
    return 1;
    }
    }












    Habe das mal umgeschreiben in ocmd:


    jetzt wird der spawn aber nicht gespeichert?

    if(strcmp(cmd, "/family", true) == 0 || 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) || (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] == 8) { 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] == 8) { 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] == 8) { 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] == 8) { 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);
    }


    so stimmts^^

    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

    if(strcmp(cmd, "/invite", true) == 0)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "Benutzung: /invite [playerid/Name]");
    return 1;
    }
    new leader = PlayerInfo[playerid][pLeader];
    new para1 = ReturnUser(tmp);
    if(PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pMember] >= 1 && PlayerInfo[playerid][pRank] >= 10)
    {
    if(IsPlayerConnected(para1))
    {
    if(para1 != INVALID_PLAYER_ID)
    {
    if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
    {
    if(PlayerInfo[para1][pFrakSperre] == 0)
    {
    GetPlayerName(para1, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    printf("%s hat %s in die Fraktion %s eingeladen.", sendername, giveplayer,Fracs[leader-1]);
    format(string, sizeof(string), " Du wurdest in die Fraktion %s von Leader %s eingeladen.",Fracs[leader-1], sendername);
    SendClientMessage(para1, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), " Du hast %s in die Fraktion %s eingeladen.", giveplayer,Fracs[leader-1]);
    new istr[100];
    format(istr, sizeof(istr), "%s von der Fraktion %s möchte dich als Member aufnehmen.",sendername,Fracs[leader-1]);
    ShowPlayerDialog(para1,DIALOG_INVITE,DIALOG_STYLE_MSGBOX,"Fraktion's-Einladung",istr,"Annehmen","Ablehnen");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SendClientMessage(playerid, COLOR_GRAD2, " Der Spieler muss nun deine Einladung Annehmen oder Ablehnen.");
    new iyear, imonth,iday;
    getdate(iyear, imonth, iday);
    format(string, sizeof(string), "%s[Level:%d] wurde von %s in die Fraktion %s eingeladen (%d-%d-%d)", giveplayer,PlayerInfo[para1][pLevel],sendername,Fracs[leader-1],imonth,iday,iyear);
    MemberLog(string);
    Eingeladen[para1] = leader;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler hat eine Fraktions-Sperre");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler ist in einer anderen Fraktion oder bereits ein Fraktionsmitglied.");
    return 1;
    }
    }
    }//not connected
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nur der (Co)Leader kann diesen Befehl nutzen!");
    }
    return 1;
    }


    Hallo ich hab ein Problem normal sollte der Rang 10 /invite nutzen können aber warum geht das nicht wen er es ein gibt kommt Unknow Coammad warum?

    if(strcmp(cmd, "/widerbeleben", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && PlayerInfo[i][pTot] == 1 && PlayerToPoint(5.0,playerid,PlayerInfo[i][pTx],PlayerInfo[i][pTy],PlayerInfo[i][pTz]))
    {
    new pname[256];
    GetPlayerName(i, pname, 256);
    format(string, 256, "Du hast %s, wiederbelebt!",pname);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
    GetPlayerName(playerid, pname, 256);
    format(string, 256, "Sanitäter %s hat dich wiederbelebt!",pname);
    SendClientMessage(i, COLOR_LIGHTGREEN, string);
    PlayerInfo[i][pTot] = 0;
    pIstTot[i] = 0;
    SetPlayerPos(i,PlayerInfo[i][pTx],PlayerInfo[i][pTy],PlayerInfo[i][pTz]);
    SetCameraBehindPlayer(i);
    DestroyPickup(DeathPickup[i]);
    Delete3DTextLabel(DeathText);
    TogglePlayerControllable(i,1);
    PlayerInfo[i][pTx] = 0.0;
    PlayerInfo[i][pTy] = 0.0;
    PlayerInfo[i][pTz] = 0.0;
    new Float:tempheal;
    GetPlayerHealth(i,tempheal);
    SetPlayerHealth(i,100.0);
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Arzt!");
    }
    }
    return 1;
    }



    Ich hab ein Problem wen ich den Spieler jetzt belebe wo er gestorben ist spawnt er dort wo er gestorben ist wie kann ich das setzen das er gespawnt wird?

    forward BehandlungsInfo(playerid);
    public BehandlungsInfo(playerid)
    {
    SetTimerEx("BehandlungsEnde", 87500,1, false, "d", playerid); //43917 warum ? wollte das nur auf 175 Sekunden setzen?
    return 1;
    }



    forward BehandlungsEnde(playerid);
    public BehandlungsEnde(playerid)
    {
    InBehandlung[playerid] = 0;
    SpawnPlayer(playerid);
    TogglePlayerControllable(playerid, 1);
    DestroyPickup(DeathPickup[playerid]);
    Delete3DTextLabel(DeathText);
    return 1;
    }


    SetTimerEx("BehandlungsInfo", 87500, false, "d", playerid);




    C:\Windows\Vss\German v1.1\German[Scripts]\German Reallife v1.2\gamemodes\German.pwn(43917) : error 035: argument type mismatch (argument 4)

    public DestroyAndCreateFactionCar(fc)
    {
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611)
    {
    DestroyVehicle(FactionCars[fc][fCarid]);
    FactionCars[fc][fCarid] = CreateVehicle(FactionCars[fc][fVehid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2],FactionCars[fc][fPos][3],FactionCars[fc][fCol][0],FactionCars[fc][fCol][1],-255);
    switch(FactionCars[fc][fFaction][0])
    {
    case 1:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 2:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"SF-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 3:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 4:
    {
    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    if(GetVehicleModel(FactionCars[fc][fCarid]) == 560)
    {
    new obj = CreateObject(19420,0,0,0,0,0,0);
    AttachObjectToVehicle(obj, FactionCars[fc][fCarid], 0.000000, 0.000000, 0.814999, 0.000000, 0.000000, 0.000000);
    new kennzeichen123456[12];
    format(kennzeichen123456, sizeof(kennzeichen123456), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen123456);
    }
    }
    case 5:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 6:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 7:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 8:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 9:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 10:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 11:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 12:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 13:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 14:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 15:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 16:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 17:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 18:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 19:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 20:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 21:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 22:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 23:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 24:
    {
    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    if(GetVehicleModel(FactionCars[fc][fCarid]) == 560)
    {
    new obj = CreateObject(19420,0,0,0,0,0,0);
    AttachObjectToVehicle(obj, FactionCars[fc][fCarid], 0.000000, 0.000000, 0.814999, 0.000000, 0.000000, 0.000000);
    new kennzeichen123456[12];
    format(kennzeichen123456, sizeof(kennzeichen123456), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen123456);
    }
    }
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    #if defined FACTION_CARS_TUNEABLE
    if(IsAllowedFactionToTune(FactionCars[fc][fFaction][0]))
    {
    for(new i=0; i<13; i++)
    {
    if(FactionCars[fc][fTuning][i] != 0)
    {
    AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][i]);
    }
    }
    }
    #endif
    }
    return true;
    }
    public LoadFactionCars(){
    if(!fexist(FACTION_CAR_FILE)){
    new File:tfFile=fopen(FACTION_CAR_FILE,io_write);
    fclose(tfFile);
    }
    new File:fFile=fopen(FACTION_CAR_FILE,io_read),Content[1024],fc;
    while(fread(fFile,Content) && fc<sizeof(FactionCars)){
    sscanf(Content,"dffffdddddddddddddddddddddd",
    FactionCars[fc][fVehid],
    FactionCars[fc][fPos][0],
    FactionCars[fc][fPos][1],
    FactionCars[fc][fPos][2],
    FactionCars[fc][fPos][3],
    FactionCars[fc][fCol][0],
    FactionCars[fc][fCol][1],
    FactionCars[fc][fFaction][0],
    FactionCars[fc][fFaction][1],
    FactionCars[fc][fFaction][2],
    FactionCars[fc][fFaction][3],
    FactionCars[fc][fFaction][4],
    FactionCars[fc][fTuning][0],
    FactionCars[fc][fTuning][1],
    FactionCars[fc][fTuning][2],
    FactionCars[fc][fTuning][3],
    FactionCars[fc][fTuning][4],
    FactionCars[fc][fTuning][5],
    FactionCars[fc][fTuning][6],
    FactionCars[fc][fTuning][7],
    FactionCars[fc][fTuning][8],
    FactionCars[fc][fTuning][9],
    FactionCars[fc][fTuning][10],
    FactionCars[fc][fTuning][11],
    FactionCars[fc][fTuning][12],
    FactionCars[fc][fTuning][13],
    FactionCars[fc][fPrice]);
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    FactionCars[fc][fCarid] = CreateVehicle(FactionCars[fc][fVehid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2],FactionCars[fc][fPos][3],FactionCars[fc][fCol][0],FactionCars[fc][fCol][1],-255);
    switch(FactionCars[fc][fFaction][0])
    {
    case 1:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 2:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"SF-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 3:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 4:
    {
    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    if(GetVehicleModel(FactionCars[fc][fCarid]) == 560)
    {
    new obj = CreateObject(19420,0,0,0,0,0,0);
    AttachObjectToVehicle(obj, FactionCars[fc][fCarid], 0.000000, 0.000000, 0.814999, 0.000000, 0.000000, 0.000000);
    new kennzeichen123456[12];
    format(kennzeichen123456, sizeof(kennzeichen123456), "LS-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen123456);
    }
    }
    case 5:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 6:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 7:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 8:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 9:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 10:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 11:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 12:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 13:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 14:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 15:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 16:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 17:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 18:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 19:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 20:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 21:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 22:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 23:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 24:
    {
    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LV-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    if(GetVehicleModel(FactionCars[fc][fCarid]) == 560)
    {
    new obj = CreateObject(19420,0,0,0,0,0,0);
    AttachObjectToVehicle(obj, FactionCars[fc][fCarid], 0.000000, 0.000000, 0.814999, 0.000000, 0.000000, 0.000000);
    new kennzeichen123456[12];
    format(kennzeichen123456, sizeof(kennzeichen123456), "LV-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen123456);
    }
    }
    }
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("Fahrzeug %d (Idx: %d) steht: %f / %f / %f", FactionCars[fc][fCarid], fc, FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("%d gehört zu: %d", FactionCars[fc][fCarid], FactionCars[fc][fFaction][0]);
    #if defined FACTION_CARS_LOCKABLE
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    #endif
    #if defined FACTION_CARS_TUNEABLE
    if(IsAllowedFactionToTune(FactionCars[fc][fFaction][0])){
    if(FactionCars[fc][fTuning][0] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][0]); }
    if(FactionCars[fc][fTuning][1] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][1]); }
    if(FactionCars[fc][fTuning][2] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][2]); }
    if(FactionCars[fc][fTuning][3] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][3]); }
    if(FactionCars[fc][fTuning][4] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][4]); }
    if(FactionCars[fc][fTuning][5] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][5]); }
    if(FactionCars[fc][fTuning][6] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][6]); }
    if(FactionCars[fc][fTuning][7] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][7]); }
    if(FactionCars[fc][fTuning][8] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][8]); }
    if(FactionCars[fc][fTuning][9] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][9]); }
    if(FactionCars[fc][fTuning][10] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][10]); }
    if(FactionCars[fc][fTuning][11] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][11]); }
    if(FactionCars[fc][fTuning][12] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][12]); }
    if(FactionCars[fc][fTuning][13] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][13]); }
    }
    #endif
    fc++;
    }
    }fclose(fFile);
    return printf(" '%d' Fraktionsfahrzeuge wurden geladen & erstellt.",fc);
    }


    public SaveFactionCars(bool:destroy)
    {
    printf("SaveFactionCars aufgerufen.");
    if(fexist(FACTION_CAR_FILE)) fremove(FACTION_CAR_FILE);
    new File:fFile=fopen(FACTION_CAR_FILE,io_append),Content[1024];
    for(new fc;fc<sizeof(FactionCars);fc++)
    {
    if(FactionCars[fc][fCarid] == -255)continue;
    printf("fc: %d | fVehid: %d", fc, FactionCars[fc][fVehid]);
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611)
    {
    for(new i=0; i<13; i++) FactionCars[fc][fTuning][i] = GetVehicleComponentInSlot(FactionCars[fc][fCarid], i);
    format(Content,sizeof(Content),"%d %.3f %.3f %.3f %.3f %03d %03d %02d %02d %02d %02d %02d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\r\n",
    FactionCars[fc][fVehid],
    FactionCars[fc][fPos][0],
    FactionCars[fc][fPos][1],
    FactionCars[fc][fPos][2],
    FactionCars[fc][fPos][3],
    FactionCars[fc][fCol][0],
    FactionCars[fc][fCol][1],
    FactionCars[fc][fFaction][0],
    FactionCars[fc][fFaction][1],
    FactionCars[fc][fFaction][2],
    FactionCars[fc][fFaction][3],
    FactionCars[fc][fFaction][4],
    FactionCars[fc][fTuning][0],
    FactionCars[fc][fTuning][1],
    FactionCars[fc][fTuning][2],
    FactionCars[fc][fTuning][3],
    FactionCars[fc][fTuning][4],
    FactionCars[fc][fTuning][5],
    FactionCars[fc][fTuning][6],
    FactionCars[fc][fTuning][7],
    FactionCars[fc][fTuning][8],
    FactionCars[fc][fTuning][9],
    FactionCars[fc][fTuning][10],
    FactionCars[fc][fTuning][11],
    FactionCars[fc][fTuning][12],
    FactionCars[fc][fTuning][13],
    FactionCars[fc][fPrice]);
    printf("Content: %s", Content);
    fwrite(fFile,Content);
    if(destroy == true)
    {
    if(DestroyVehicle(FactionCars[fc][fCarid]))
    FactionCars[fc][fCarid] = -255;
    }
    }
    }
    printf("Ende.");
    fclose(fFile);
    return true;
    }



    Hallo ich habe ein Problem wen ich Fahrzeuge erstelle habe bis her 57 erstellt werden geladen und gespeichert wen ich weitere erstelle werden die nicht gespeichert und geladen warum?

    C:\Windows\Vss\German v1.1\German[Scripts]\German Reallife v1.2\gamemodes\German.pwn(53750) : error 002: only a single statement (or expression) can follow each "case"C:\Windows\Vss\German v1.1\German[Scripts]\German Reallife v1.2\gamemodes\German.pwn(53750) : warning 215: expression has no effect



    public LoadFactionCars(){
    if(!fexist(FACTION_CAR_FILE)){
    new File:tfFile=fopen(FACTION_CAR_FILE,io_write);
    fclose(tfFile);
    }
    new File:fFile=fopen(FACTION_CAR_FILE,io_read),Content[1024],fc;
    while(fread(fFile,Content) && fc<sizeof(FactionCars)){
    sscanf(Content,"dffffdddddddddddddddddddddd",
    FactionCars[fc][fVehid],
    FactionCars[fc][fPos][0],
    FactionCars[fc][fPos][1],
    FactionCars[fc][fPos][2],
    FactionCars[fc][fPos][3],
    FactionCars[fc][fCol][0],
    FactionCars[fc][fCol][1],
    FactionCars[fc][fFaction][0],
    FactionCars[fc][fFaction][1],
    FactionCars[fc][fFaction][2],
    FactionCars[fc][fFaction][3],
    FactionCars[fc][fFaction][4],
    FactionCars[fc][fTuning][0],
    FactionCars[fc][fTuning][1],
    FactionCars[fc][fTuning][2],
    FactionCars[fc][fTuning][3],
    FactionCars[fc][fTuning][4],
    FactionCars[fc][fTuning][5],
    FactionCars[fc][fTuning][6],
    FactionCars[fc][fTuning][7],
    FactionCars[fc][fTuning][8],
    FactionCars[fc][fTuning][9],
    FactionCars[fc][fTuning][10],
    FactionCars[fc][fTuning][11],
    FactionCars[fc][fTuning][12],
    FactionCars[fc][fTuning][13],
    FactionCars[fc][fPrice]);
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    FactionCars[fc][fCarid] = CreateVehicle(FactionCars[fc][fVehid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2],FactionCars[fc][fPos][3],FactionCars[fc][fCol][0],FactionCars[fc][fCol][1],-255);
    switch(FactionCars[fc][fFaction][0])
    {
    case 1:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 2:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"SF-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 3:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 4:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 5:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 6:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 7:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 8:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 9:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 10:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 11:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 12:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 13:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 14:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 15:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 16:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 17:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 18:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 19:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 20:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 21:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 22:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LS-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 23:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 24:
    {
    if(GetVehicleModel(FactionCars[fc][fCarid]) == 560) //53750
    {
    new obj = CreateObject(19420,0,0,0,0,0,0);
    AttachObjectToVehicle(obj, FactionCars[fc][fCarid], 0.000000, 0.000000, 0.814999, 0.000000, 0.000000, 0.000000);
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    }
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("Fahrzeug %d (Idx: %d) steht: %f / %f / %f", FactionCars[fc][fCarid], fc, FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("%d gehört zu: %d", FactionCars[fc][fCarid], FactionCars[fc][fFaction][0]);
    #if defined FACTION_CARS_LOCKABLE
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    #endif
    #if defined FACTION_CARS_TUNEABLE
    if(IsAllowedFactionToTune(FactionCars[fc][fFaction][0])){
    if(FactionCars[fc][fTuning][0] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][0]); }
    if(FactionCars[fc][fTuning][1] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][1]); }
    if(FactionCars[fc][fTuning][2] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][2]); }
    if(FactionCars[fc][fTuning][3] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][3]); }
    if(FactionCars[fc][fTuning][4] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][4]); }
    if(FactionCars[fc][fTuning][5] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][5]); }
    if(FactionCars[fc][fTuning][6] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][6]); }
    if(FactionCars[fc][fTuning][7] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][7]); }
    if(FactionCars[fc][fTuning][8] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][8]); }
    if(FactionCars[fc][fTuning][9] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][9]); }
    if(FactionCars[fc][fTuning][10] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][10]); }
    if(FactionCars[fc][fTuning][11] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][11]); }
    if(FactionCars[fc][fTuning][12] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][12]); }
    if(FactionCars[fc][fTuning][13] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][13]); }
    }
    #endif
    fc++;
    }
    }fclose(fFile);
    return printf(" '%d' Fraktionsfahrzeuge wurden geladen & erstellt.",fc);
    }
    [size=12]


    Ich wollte bei case 24: einfach machen das wen ich für 24 ein fahzeug erstelle. Das die Sirene nur auf ID 560 ist.[/size]

    public LoadFactionCars(){
    if(!fexist(FACTION_CAR_FILE)){
    new File:tfFile=fopen(FACTION_CAR_FILE,io_write);
    fclose(tfFile);
    }
    new File:fFile=fopen(FACTION_CAR_FILE,io_read),Content[1024],fc;
    while(fread(fFile,Content) && fc<sizeof(FactionCars)){
    sscanf(Content,"dffffdddddddddddddddddddddd",
    FactionCars[fc][fVehid],
    FactionCars[fc][fPos][0],
    FactionCars[fc][fPos][1],
    FactionCars[fc][fPos][2],
    FactionCars[fc][fPos][3],
    FactionCars[fc][fCol][0],
    FactionCars[fc][fCol][1],
    FactionCars[fc][fFaction][0],
    FactionCars[fc][fFaction][1],
    FactionCars[fc][fFaction][2],
    FactionCars[fc][fFaction][3],
    FactionCars[fc][fFaction][4],
    FactionCars[fc][fTuning][0],
    FactionCars[fc][fTuning][1],
    FactionCars[fc][fTuning][2],
    FactionCars[fc][fTuning][3],
    FactionCars[fc][fTuning][4],
    FactionCars[fc][fTuning][5],
    FactionCars[fc][fTuning][6],
    FactionCars[fc][fTuning][7],
    FactionCars[fc][fTuning][8],
    FactionCars[fc][fTuning][9],
    FactionCars[fc][fTuning][10],
    FactionCars[fc][fTuning][11],
    FactionCars[fc][fTuning][12],
    FactionCars[fc][fTuning][13],
    FactionCars[fc][fPrice]);
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    FactionCars[fc][fCarid] = CreateVehicle(FactionCars[fc][fVehid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2],FactionCars[fc][fPos][3],FactionCars[fc][fCol][0],FactionCars[fc][fCol][1],-255);
    switch(FactionCars[fc][fFaction][0])
    {
    case 1: SetVehicleNumberPlate(FactionCars[fc][fCarid], "LSPD");
    case 2: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FBI");
    case 3: SetVehicleNumberPlate(FactionCars[fc][fCarid], "ARMY");
    case 4: SetVehicleNumberPlate(FactionCars[fc][fCarid], "ARZT");
    case 5: SetVehicleNumberPlate(FactionCars[fc][fCarid], "LCM");
    case 6: SetVehicleNumberPlate(FactionCars[fc][fCarid], "YAKUZA");
    case 7: SetVehicleNumberPlate(FactionCars[fc][fCarid], "PRÄSIDENT");
    case 8: SetVehicleNumberPlate(FactionCars[fc][fCarid], "HITMAN");
    case 9: SetVehicleNumberPlate(FactionCars[fc][fCarid], "SAN NEWS");
    case 10: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TAXI");
    case 11: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FAHRLEHRER");
    case 12: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TRIADEN");
    case 13: SetVehicleNumberPlate(FactionCars[fc][fCarid], "GROVE");
    case 14: SetVehicleNumberPlate(FactionCars[fc][fCarid], "BALLAS");
    case 15: SetVehicleNumberPlate(FactionCars[fc][fCarid], "BIKER CLUB");
    case 16: SetVehicleNumberPlate(FactionCars[fc][fCarid], "VAGOS");
    case 17: SetVehicleNumberPlate(FactionCars[fc][fCarid], "AZTECAS");
    case 18: SetVehicleNumberPlate(FactionCars[fc][fCarid], "RIFA");
    case 19: SetVehicleNumberPlate(FactionCars[fc][fCarid], "RS");
    case 20: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TERROR");
    case 21: SetVehicleNumberPlate(FactionCars[fc][fCarid], "WHEELMEN");
    case 22: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FEUERWEHR");
    case 23:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    case 24:
    {
    new kennzeichen[12];
    format(kennzeichen,sizeof(kennzeichen),"LV-%d",randomEx(1000,9999));
    SetVehicleNumberPlate(FactionCars[fc][fCarid],kennzeichen);
    }
    }
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("Fahrzeug %d (Idx: %d) steht: %f / %f / %f", FactionCars[fc][fCarid], fc, FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("%d gehört zu: %d", FactionCars[fc][fCarid], FactionCars[fc][fFaction][0]);
    SetVehicleNumberPlate(FactionCars[fc][fCarid], kennzeichen);
    #if defined FACTION_CARS_LOCKABLE
    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LV-%d", randomEx(1000, 9999));
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    #endif
    #if defined FACTION_CARS_TUNEABLE
    if(IsAllowedFactionToTune(FactionCars[fc][fFaction][0])){
    if(FactionCars[fc][fTuning][0] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][0]); }
    if(FactionCars[fc][fTuning][1] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][1]); }
    if(FactionCars[fc][fTuning][2] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][2]); }
    if(FactionCars[fc][fTuning][3] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][3]); }
    if(FactionCars[fc][fTuning][4] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][4]); }
    if(FactionCars[fc][fTuning][5] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][5]); }
    if(FactionCars[fc][fTuning][6] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][6]); }
    if(FactionCars[fc][fTuning][7] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][7]); }
    if(FactionCars[fc][fTuning][8] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][8]); }
    if(FactionCars[fc][fTuning][9] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][9]); }
    if(FactionCars[fc][fTuning][10] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][10]); }
    if(FactionCars[fc][fTuning][11] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][11]); }
    if(FactionCars[fc][fTuning][12] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][12]); }
    if(FactionCars[fc][fTuning][13] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][13]); }
    }
    #endif
    fc++;
    }
    }fclose(fFile);
    return printf(" '%d' Fraktionsfahrzeuge wurden geladen & erstellt.",fc);
    }



    Geht das so?

    Hay wie kann ich bei Ordnungsamt das Kennzeichen so machen:


    Also bei jeden anders:




    new kennzeichen[12];
    format(kennzeichen, sizeof(kennzeichen), "LV-%d", randomEx(1000, 9999));
    SetVehicleNumberPlate(oAmtVehs[v], kennzeichen);
    SetVehicleToRespawn(oAmtVehs[v]);





    public LoadFactionCars(){
    if(!fexist(FACTION_CAR_FILE)){
    new File:tfFile=fopen(FACTION_CAR_FILE,io_write);
    fclose(tfFile);
    }
    new File:fFile=fopen(FACTION_CAR_FILE,io_read),Content[1024],fc;
    while(fread(fFile,Content) && fc<sizeof(FactionCars)){
    sscanf(Content,"dffffdddddddddddddddddddddd",
    FactionCars[fc][fVehid],
    FactionCars[fc][fPos][0],
    FactionCars[fc][fPos][1],
    FactionCars[fc][fPos][2],
    FactionCars[fc][fPos][3],
    FactionCars[fc][fCol][0],
    FactionCars[fc][fCol][1],
    FactionCars[fc][fFaction][0],
    FactionCars[fc][fFaction][1],
    FactionCars[fc][fFaction][2],
    FactionCars[fc][fFaction][3],
    FactionCars[fc][fFaction][4],
    FactionCars[fc][fTuning][0],
    FactionCars[fc][fTuning][1],
    FactionCars[fc][fTuning][2],
    FactionCars[fc][fTuning][3],
    FactionCars[fc][fTuning][4],
    FactionCars[fc][fTuning][5],
    FactionCars[fc][fTuning][6],
    FactionCars[fc][fTuning][7],
    FactionCars[fc][fTuning][8],
    FactionCars[fc][fTuning][9],
    FactionCars[fc][fTuning][10],
    FactionCars[fc][fTuning][11],
    FactionCars[fc][fTuning][12],
    FactionCars[fc][fTuning][13],
    FactionCars[fc][fPrice]);
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    FactionCars[fc][fCarid] = CreateVehicle(FactionCars[fc][fVehid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2],FactionCars[fc][fPos][3],FactionCars[fc][fCol][0],FactionCars[fc][fCol][1],-255);
    switch(FactionCars[fc][fFaction][0])
    {
    case 1: SetVehicleNumberPlate(FactionCars[fc][fCarid], "LSPD");
    case 2: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FBI");
    case 3: SetVehicleNumberPlate(FactionCars[fc][fCarid], "ARMY");
    case 4: SetVehicleNumberPlate(FactionCars[fc][fCarid], "ARZT");
    case 5: SetVehicleNumberPlate(FactionCars[fc][fCarid], "LCM");
    case 6: SetVehicleNumberPlate(FactionCars[fc][fCarid], "YAKUZA");
    case 7: SetVehicleNumberPlate(FactionCars[fc][fCarid], "PRÄSIDENT");
    case 8: SetVehicleNumberPlate(FactionCars[fc][fCarid], "HITMAN");
    case 9: SetVehicleNumberPlate(FactionCars[fc][fCarid], "SAN NEWS");
    case 10: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TAXI");
    case 11: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FAHRLEHRER");
    case 12: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TRIADEN");
    case 13: SetVehicleNumberPlate(FactionCars[fc][fCarid], "GROVE");
    case 14: SetVehicleNumberPlate(FactionCars[fc][fCarid], "BALLAS");
    case 15: SetVehicleNumberPlate(FactionCars[fc][fCarid], "BIKER CLUB");
    case 16: SetVehicleNumberPlate(FactionCars[fc][fCarid], "VAGOS");
    case 17: SetVehicleNumberPlate(FactionCars[fc][fCarid], "AZTECAS");
    case 18: SetVehicleNumberPlate(FactionCars[fc][fCarid], "RIFA");
    case 19: SetVehicleNumberPlate(FactionCars[fc][fCarid], "RS");
    case 20: SetVehicleNumberPlate(FactionCars[fc][fCarid], "TERROR");
    case 21: SetVehicleNumberPlate(FactionCars[fc][fCarid], "WHEELMEN");
    case 22: SetVehicleNumberPlate(FactionCars[fc][fCarid], "FEUERWEHR");
    case 23: SetVehicleNumberPlate(FactionCars[fc][fCarid], "RUSSEN");
    case 24: SetVehicleNumberPlate(FactionCars[fc][fCarid], "ORDNUNGSAMT");
    }
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("Fahrzeug %d (Idx: %d) steht: %f / %f / %f", FactionCars[fc][fCarid], fc, FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    printf("%d gehört zu: %d", FactionCars[fc][fCarid], FactionCars[fc][fFaction][0]);
    SetVehicleToRespawn(FactionCars[fc][fCarid]);
    #if defined FACTION_CARS_LOCKABLE
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    #endif
    #if defined FACTION_CARS_TUNEABLE
    if(IsAllowedFactionToTune(FactionCars[fc][fFaction][0])){
    if(FactionCars[fc][fTuning][0] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][0]); }
    if(FactionCars[fc][fTuning][1] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][1]); }
    if(FactionCars[fc][fTuning][2] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][2]); }
    if(FactionCars[fc][fTuning][3] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][3]); }
    if(FactionCars[fc][fTuning][4] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][4]); }
    if(FactionCars[fc][fTuning][5] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][5]); }
    if(FactionCars[fc][fTuning][6] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][6]); }
    if(FactionCars[fc][fTuning][7] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][7]); }
    if(FactionCars[fc][fTuning][8] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][8]); }
    if(FactionCars[fc][fTuning][9] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][9]); }
    if(FactionCars[fc][fTuning][10] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][10]); }
    if(FactionCars[fc][fTuning][11] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][11]); }
    if(FactionCars[fc][fTuning][12] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][12]); }
    if(FactionCars[fc][fTuning][13] != 0) { AddVehicleComponent(FactionCars[fc][fCarid],FactionCars[fc][fTuning][13]); }
    }
    #endif
    fc++;
    }
    }fclose(fFile);
    return printf(" '%d' Fraktionsfahrzeuge wurden geladen & erstellt.",fc);
    }

    stock ShowTextDrawForTime(playerid, Text:Spawnkill_Draw, time)
    {
    SetTimerEx("HideTextDrawAgain", time*5000, false, "ii", playerid, _:Spawnkill_Draw);
    TextDrawShowForPlayer(playerid, Spawnkill_Draw);
    return 1;
    }
    forward AntiSpawn2(playerid, Text:Spawnkill_Draw); // HideTextDrawAgain
    public AntiSpawn2(playerid, Text:Spawnkill_Draw) // HideTextDrawAgain //43122
    {
    TextDrawHideForPlayer(playerid, Spawnkill_Draw);
    return 1;
    }


    Hab den Time auf 5 Sekunden gesetzt aber der Textdraw bleibt warum?

    C:\Windows\Vss\German v1.1\German[Scripts]\German Reallife v1.2\gamemodes\German.pwn(43114) : warning 219: local variable "Spawnkill" shadows a variable at a preceding level
    C:\Windows\Vss\German v1.1\German[Scripts]\German Reallife v1.2\gamemodes\German.pwn(43122) : warning 219: local variable "Spawnkill" shadows a variable at a preceding level



    stock ShowTextDrawForTime(playerid, Text:Spawnkill, time) //43114
    {
    SetTimerEx("HideTextDrawAgain", time*1000, false, "ii", playerid, _:Spawnkill);
    TextDrawShowForPlayer(playerid, Spawnkill);
    return 1;
    }




    forward AntiSpawn2(playerid, Text:Spawnkill); // HideTextDrawAgain
    public AntiSpawn2(playerid, Text:Spawnkill) // HideTextDrawAgain //43122
    {
    TextDrawHideForPlayer(playerid, Spawnkill);
    return 1;
    }