Beiträge von James.Spader

    welches FS Autohaus benutzt du den?

    ohhh, puhhhh... weiß ich gar nicht mehr, ich habs editiert und somit alles umgeschrieben - schon lange her, alles funktioniert ja auch. Nur eben das mit dem Icon nicht, wie schon beschrieben.
    Was kann ich machen? Bin ratlos :/

    Huhu ihr lieben...
    Ich habe zurzeit, andauernd, dass Problem, wenn ich in den Totenkopf (für die Wiederbelebung) rein gehe, dann lande ich sofort im Autohaus (das "Wiederbelebungssytem" ist im Gamemode enthalten, das Autohaus-System ist ein FS).
    Was muss ich posten? bzw. was muss ich ändern, dass es sich nicht mehr überschneidet? (anscheinend, überschneiden sich die PickUps.)



    MfG,
    James.

    Ich habs mal so gemacht wie du es gesagt hast, jedoch wird mir jetzt nur eine Zeile angezeigt, zudem auch Warnings:



    Es wird nur diese Zeile angezeigt:
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");


    Die kompletten Zeilen:

    if(strcmp(cmd, "/ahilfe", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] == 1)
    {
    new string[720];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{FFFF00}Supporter{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}* {FFFF00}Support{FFFFFF}: /mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}* {FFFF00}Support{FFFFFF}: /countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 2)
    {
    new string[864];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{00B200}Moderator{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00B200}Moderation{FFFFFF}: /noooc /setteam (CnR) /bigears /cnn /recon /cam");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00B200}Moderation{FFFFFF}: /startlotto /ban /cnn /accban (sehe /ban)");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 3)
    {
    new string[1008];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{009999}High Moderator{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {009999}High Moderation{FFFFFF}: /gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel)");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {009999}High Moderation{FFFFFF}: /gotobays (Bayside)");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 4)
    {
    new string[1008];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{0099FF}Trial Admin{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0099FF}Trial Administration{FFFFFF}: /mark /gotomark /gotocar /getcar");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1336)
    {
    new string[1296];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{0000FF}Admin{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen", string);
    format(string, sizeof(string), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0000FF}Administration{FFFFFF}: /sban /sethp /setarmor /fixveh /alleentwaffnen");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0000FF}Administration{FFFFFF}: /healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1337)
    {
    new string[1584];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{B40404}Head Admin{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily", string);
    format(string, sizeof(string), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall", string);
    format(string, sizeof(string), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney", string);
    format(string, sizeof(string), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /mole /edit /givemoney /setmoney");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /asellhouse /asellbiz /sellsbiz /setchamp /sban");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /givegun /forceskin /setstat /setfamily");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /veh /setleader /destroycars /sethp /setarmor /house /housetp");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1338)
    {
    new string[1584];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{00FFFF}Community- & Projektmanager{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily", string);
    format(string, sizeof(string), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");
    format(string, sizeof(string), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney", string);
    format(string, sizeof(string), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00FFFF}Community- & Projektmanagement{FFFFFF}: /veh /delveh /setfkasse");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1339)
    {
    new string[1584];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{F78181}stellvertretender Projektleiter{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily", string);
    format(string, sizeof(string), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall /restartserver (Server Neustart)", string);
    format(string, sizeof(string), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney /umbenennen", string);
    format(string, sizeof(string), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse", string);
    format(string, sizeof(string), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {F78181}stellvertretende Projektleitung{FFFFFF}: /restartserver (Server Neustart) /umbenennen");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 2000)
    {
    new string[2016];
    format(string, sizeof(string), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{FF0000}Projektleiter{C9DCEF}':");
    format(string, sizeof(string), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban", string);
    format(string, sizeof(string), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar", string);
    format(string, sizeof(string), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)", string);
    format(string, sizeof(string), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)", string);
    format(string, sizeof(string), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily", string);
    format(string, sizeof(string), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall /restartserver (Server Neustart)", string);
    format(string, sizeof(string), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney /umbenennen", string);
    format(string, sizeof(string), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse", string);
    format(string, sizeof(string), "\n{FFFFFF}/setadmin /nold (Leader-Chat an/aus) /pdd /sprengen /aorten", string);
    format(string, sizeof(string), "\n{FFFFFF}/getip /clear /fh (fullheal) /fourdive /ajpon /ajpoff /zentrale", string);
    format(string, sizeof(string), "\n{FFFFFF}/adurchsuchen /alight /aschild /gotomyinsel", string);
    format(string, sizeof(string), "\n\n{00FF00}Support-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)", string);
    format(string, sizeof(string), "\n{00FF00}Support-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(string, sizeof(string), "%s%s%s%s%s",string);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",string,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /setadmin /nold (Leader-Chat an/aus) /pdd /sprengen /aorten");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /getip /clear /fh (fullheal) /fourdive /ajpon /ajpoff /zentrale");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /adurchsuchen /alight /aschild /gotomyinsel");*/
    }
    }
    return 1;
    }

    Huhu ihr lieben,
    ich habe nun das Problem, nachdem ich versucht habe, die Dinge, die im Befehl (/ah) standen in ein Dialog umzuschreiben. Dies funktionierte auch (keine Errors etc.), nur InGame bekomme ich immer 'SERVER: Unknown Command'.
    Ich habe hier mal die ganzen Dialoge:

    if(strcmp(cmd, "/ahilfe", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] == 1)
    {
    new AlleZeilen[720],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{FFFF00}Supporter{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze");
    format(Zeile4, sizeof(Zeile4), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile5);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}* {FFFF00}Support{FFFFFF}: /mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}* {FFFF00}Support{FFFFFF}: /countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 2)
    {
    new AlleZeilen[864],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{00B200}Moderator{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00B200}Moderation{FFFFFF}: /noooc /setteam (CnR) /bigears /cnn /recon /cam");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00B200}Moderation{FFFFFF}: /startlotto /ban /cnn /accban (sehe /ban)");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 3)
    {
    new AlleZeilen[1008],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{009999}High Moderator{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {009999}High Moderation{FFFFFF}: /gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel)");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {009999}High Moderation{FFFFFF}: /gotobays (Bayside)");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 4)
    {
    new AlleZeilen[1008],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{0099FF}Trial Admin{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0099FF}Trial Administration{FFFFFF}: /mark /gotomark /gotocar /getcar");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1336)
    {
    new AlleZeilen[1296],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144],Zeile8[144],Zeile9[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{0000FF}Admin{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile8, sizeof(Zeile8), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen");
    format(Zeile9, sizeof(Zeile9), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile8,Zeile9,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0000FF}Administration{FFFFFF}: /sban /sethp /setarmor /fixveh /alleentwaffnen");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {0000FF}Administration{FFFFFF}: /healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1337)
    {
    new AlleZeilen[1584],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144],Zeile8[144],Zeile9[144],Zeile10[144],Zeile11[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{B40404}Head Admin{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile8, sizeof(Zeile8), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily");
    format(Zeile9, sizeof(Zeile9), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");
    format(Zeile10, sizeof(Zeile10), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney");
    format(Zeile11, sizeof(Zeile11), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile8,Zeile9,Zeile10,Zeile11,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /mole /edit /givemoney /setmoney");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /asellhouse /asellbiz /sellsbiz /setchamp /sban");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /givegun /forceskin /setstat /setfamily");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {B40404}Head Administration{FFFFFF}: /veh /setleader /destroycars /sethp /setarmor /house /housetp");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1338)
    {
    new AlleZeilen[1584],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144],Zeile8[144],Zeile9[144],Zeile10[144],Zeile11[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{00FFFF}Community- & Projektmanager{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile8, sizeof(Zeile8), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily");
    format(Zeile9, sizeof(Zeile9), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall");
    format(Zeile10, sizeof(Zeile10), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney");
    format(Zeile11, sizeof(Zeile11), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile8,Zeile9,Zeile10,Zeile11,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {00FFFF}Community- & Projektmanagement{FFFFFF}: /veh /delveh /setfkasse");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 1339)
    {
    new AlleZeilen[1584],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144],Zeile8[144],Zeile9[144],Zeile10[144],Zeile11[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{F78181}stellvertretender Projektleiter{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile8, sizeof(Zeile8), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily");
    format(Zeile9, sizeof(Zeile9), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall /restartserver (Server Neustart)");
    format(Zeile10, sizeof(Zeile10), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney /umbenennen");
    format(Zeile11, sizeof(Zeile11), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse");
    format(Zeile5, sizeof(Zeile5), "{00FF00}\n\nSupport-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "{00FF00}\nSupport-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile8,Zeile9,Zeile10,Zeile11,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {F78181}stellvertretende Projektleitung{FFFFFF}: /restartserver (Server Neustart) /umbenennen");*/
    }
    else if(PlayerInfo[playerid][pAdmin] == 2000)
    {
    new AlleZeilen[2016],Zeile1[144],Zeile2[144],Zeile3[144],Zeile4[144],Zeile5[144],Zeile6[144],Zeile7[144],Zeile8[144],Zeile9[144],Zeile10[144],Zeile11[144];
    new Zeile12[144],Zeile13[144],Zeile14[144];
    format(Zeile1, sizeof(Zeile1), "\n{C9DCEF}Hier findest du alle Administrationsbefehle für den Admin-Rang '{FF0000}Projektleiter{C9DCEF}':");
    format(Zeile2, sizeof(Zeile2), "\n{FFFFFF}/mute /kick /a /warn /goto /gethere /aduty /oaduty /checkwaffen /tban /tunban");
    format(Zeile3, sizeof(Zeile3), "\n{FFFFFF}/countdown /aw /cleartext (/ct) /checkwarns /freeze /unfreeze /mark /gotomark /gotocar /getcar");
    format(Zeile4, sizeof(Zeile4), "\n{FFFFFF}/noooc /setteam (CnR) /bigears /cnn /recon /cam /startlotto /ban /cnn /accban (sehe /ban)");
    format(Zeile7, sizeof(Zeile7), "\n{FFFFFF}/gotols /jail /gotolv /gotosf /oldcar /gotobsn /gotodminsel (DM-Event Insel) /gotobays (Bayside)");
    format(Zeile8, sizeof(Zeile8), "\n{FFFFFF}/sban /sethp /setarmor /fixveh /alleentwaffnen /givegun /forceskin /setstat /setfamily");
    format(Zeile9, sizeof(Zeile9), "\n{FFFFFF}/healall /ipban (sehe /ban) /ainvite /auninvite /fraksperre /saveall /restartserver (Server Neustart)");
    format(Zeile10, sizeof(Zeile10), "\n{FFFFFF}/asellhouse /asellbiz /sellsbiz /setchamp /sban /mole /edit /givemoney /setmoney /umbenennen");
    format(Zeile11, sizeof(Zeile11), "\n{FFFFFF}/veh /setleader /destroycars /sethp /setarmor /house /housetp /veh /delveh /setfkasse");
    format(Zeile12, sizeof(Zeile12), "\n{FFFFFF}/setadmin /nold (Leader-Chat an/aus) /pdd /sprengen /aorten");
    format(Zeile13, sizeof(Zeile13), "\n{FFFFFF}/getip /clear /fh (fullheal) /fourdive /ajpon /ajpoff /zentrale");
    format(Zeile14, sizeof(Zeile14), "\n{FFFFFF}/adurchsuchen /alight /aschild /gotomyinsel");
    format(Zeile5, sizeof(Zeile5), "\n\n{00FF00}Support-System: /sa (Support-Chat (Admin)) /osup (Support öffnen) /ssup (Support schließen)");
    format(Zeile6, sizeof(Zeile6), "\n{00FF00}Support-System: /lsup (Support-Ticket löschen) /supports (offene Support-Tickets (Liste))");
    format(AlleZeilen, sizeof(AlleZeilen), "%s%s%s%s%s%s%s%s%s%s%s%s%s%s",Zeile1,Zeile2,Zeile3,Zeile4,Zeile7,Zeile8,Zeile9,Zeile10,Zeile11,Zeile12,Zeile13,Zeile14,Zeile5,Zeile6);
    ShowPlayerDialog(playerid, DIALOG_ADMB, DIALOG_STYLE_MSGBOX,"{FFFFFF}xGR - (C)Network | Administration",AlleZeilen,"Bestätigen","");
    /*SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /setadmin /nold (Leader-Chat an/aus) /pdd /sprengen /aorten");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /getip /clear /fh (fullheal) /fourdive /ajpon /ajpoff /zentrale");
    SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}* {FF0000}Projektleitung{FFFFFF}: /adurchsuchen /alight /aschild /gotomyinsel");*/
    }
    }
    return 1;


    }


    Was habe ich falsch gemacht? :S:/
    schon mal Danke für eure Hilfe. ;)

    Liebe Community,
    auf meinen Server laden die Objekte nicht mehr, in der Server-Log steht dies:


    Code
    [13:15:07] *** Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 13

    Dies kommt ca. gefühlt 3000mal hintereinander...
    Woran liegt das? Ich hatte es davor nie, und habe eig. nichts verändert
    Ich hoffe ihr könnt helfen... :/

    Ok, kannst du dann bitte mal den Code posten, der die Fahrzeuge aus der Datei lädt?

    Jo:
    stock LoadPlayerVehicle(playerid) {
    new readline[256];
    GetPlayerName(playerid,readline,MAX_PLAYER_NAME);
    format(readline,sizeof(readline),"gFahrzeuge/%s.car",readline);
    if(fexist(readline)) {
    new File:csfile=fopen(readline,io_read);
    while(fread(csfile,readline)) {
    new lpvid;
    if(!strcmp(readline,"[0]",false,2)) { lpvid=0; }
    else if(!strcmp(readline,"[1]",false,2)) { lpvid=1; }
    PlayerVehicle[playerid][lpvid][pvModel]=strval(strpart(readline,1));
    PlayerVehicle[playerid][lpvid][pvX]=floatstr(strpart(readline,2));
    PlayerVehicle[playerid][lpvid][pvY]=floatstr(strpart(readline,3));
    PlayerVehicle[playerid][lpvid][pvZ]=floatstr(strpart(readline,4));
    PlayerVehicle[playerid][lpvid][pvA]=floatstr(strpart(readline,5));
    PlayerVehicle[playerid][lpvid][pvColor1]=strval(strpart(readline,6));
    PlayerVehicle[playerid][lpvid][pvColor2]=strval(strpart(readline,7));
    PlayerVehicle[playerid][lpvid][pvPaintjob]=strval(strpart(readline,8));
    PlayerVehicle[playerid][lpvid][pvID]=CreateVehicle(PlayerVehicle[playerid][lpvid][pvModel],PlayerVehicle[playerid][lpvid][pvX],PlayerVehicle[playerid][lpvid][pvY],PlayerVehicle[playerid][lpvid][pvZ],PlayerVehicle[playerid][lpvid][pvA],PlayerVehicle[playerid][lpvid][pvColor1],PlayerVehicle[playerid][lpvid][pvColor2],30);
    ChangeVehiclePaintjob(PlayerVehicle[playerid][lpvid][pvID],PlayerVehicle[playerid][lpvid][pvPaintjob]);
    for(new i=0;i<13;i++) {
    PlayerVehicle[playerid][lpvid][pvModSlot][i]=strval(strpart(readline,i+9));
    if(PlayerVehicle[playerid][lpvid][pvModSlot][i]!=-1) { AddVehicleComponent(PlayerVehicle[playerid][lpvid][pvID],PlayerVehicle[playerid][lpvid][pvModSlot][i]); } }
    fclose(csfile); } }
    return 1; }

    Kannst du das genauer beschreiben? Was heißt einfach weg, und wie sieht es in der Datei aus?

    Guten Morgen :D
    also,

    • Ich kaufe mir das erste Fahrzeug (für den ersten Slot)
    • /car park auf der gewünschten Park-Position gemacht
    • Ich kaufe erneut ein Fahrzeug, welches dann logischerweise den 2. Slot belegt
    • dies parke ich auch mit /car park auf der gewünschten Park-Position
    • ich habe den Server restartet
    • ich fand nur noch das erste Fahrzeug an der ausgesuchten Park-Position, dass 2. Fahrzeug war bzw. ist dann einfach weg


    in der Datei sieht es so aus:

    Code
    [0] 534 1422.750732 -1800.696044 13.268893 201.932632 -1 -1 3 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
    [1] 566 1445.126831 -1780.506835 13.327084 272.651000 -1 -1 3 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

    @Jeffry

    stock SavePlayerVehicle(playerid) {
    new string[256],pName[MAX_PLAYER_NAME],File:pvfile;
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    pvfile=fopen(string,io_write);
    for(new i=0; i<5; i++) {
    if(PlayerVehicle[playerid][i][pvModel]) {
    new str[2][64];
    format(string,sizeof(string),"[%d] %d %f %f %f %f %d %d %d ",i,PlayerVehicle[playerid][i][pvModel],PlayerVehicle[playerid][i][pvX],PlayerVehicle[playerid][i][pvY],PlayerVehicle[playerid][i][pvZ],PlayerVehicle[playerid][i][pvA],PlayerVehicle[playerid][i][pvColor1],PlayerVehicle[playerid][i][pvColor2],PlayerVehicle[playerid][i][pvPaintjob]);
    format(str[0],64,"%d %d %d %d %d %d %d ",PlayerVehicle[playerid][i][pvModSlot][0],PlayerVehicle[playerid][i][pvModSlot][1],PlayerVehicle[playerid][i][pvModSlot][2],PlayerVehicle[playerid][i][pvModSlot][3],PlayerVehicle[playerid][i][pvModSlot][4],PlayerVehicle[playerid][i][pvModSlot][5],PlayerVehicle[playerid][i][pvModSlot][6]);
    format(str[1],64,"%d %d %d %d %d %d %d\r\n",PlayerVehicle[playerid][i][pvModSlot][7],PlayerVehicle[playerid][i][pvModSlot][8],PlayerVehicle[playerid][i][pvModSlot][9],PlayerVehicle[playerid][i][pvModSlot][10],PlayerVehicle[playerid][i][pvModSlot][11],PlayerVehicle[playerid][i][pvModSlot][12],PlayerVehicle[playerid][i][pvModSlot][13]);
    strins(string,str[0],strlen(string)),strins(string,str[1],strlen(string));
    fwrite(pvfile,string); } }
    return fclose(pvfile); }

    @Jeffry
    Juhu Danke, hat funktioniert :)
    nur ich habe jetzt das Problem, die Park-Positionen werden nicht gespeichert, und wenn ich mir ein neues Auto kaufen will, dann spawnt das andere wieder an dem Ausgabe-Point. :/
    der park-Dia.:

    if(!strcmp(pChoise,"park",true))
    {
    new vehtopark;
    if(!IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { return SendClientMessage(playerid,COLOR_GRAD1,"Du bist nicht in der nähe des Autohauses (Verkaufspoint)!"); }
    if(IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { vehtopark=1; }
    GetVehiclePos(PlayerVehicle[playerid][0][pvID] && PlayerVehicle[playerid][1][pvID] && PlayerVehicle[playerid][2][pvID] && PlayerVehicle[playerid][3][pvID] && PlayerVehicle[playerid][4][pvID],PlayerVehicle[playerid][vehtopark][pvX],PlayerVehicle[playerid][vehtopark][pvY],PlayerVehicle[playerid][vehtopark][pvZ]);
    GetVehicleZAngle(PlayerVehicle[playerid][0][pvID] && PlayerVehicle[playerid][1][pvID] && PlayerVehicle[playerid][2][pvID] && PlayerVehicle[playerid][3][pvID] && PlayerVehicle[playerid][4][pvID],PlayerVehicle[playerid][vehtopark][pvA]);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du hast dein Fahrzeug {006600}erfolgreich{FFFFFF} an dieser Posistion geparkt!");
    SavePlayerVehicle(playerid);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du kannst dein Fahrzeug nun wenn du dich einloggst, immer hier finden!");
    return 1;
    }

    @Jeffry
    Huhu Jeffry, biste gut Heim gekommen? :D;)
    also, wenn ich mir das Auto aussuchen will, welches ich mir kaufe dann kommt dieser Code:

    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    new string[64];
    if(pickupid==csPickup)
    {
    if(PlayerVehicle[playerid][0][pvModel] && PlayerVehicle[playerid][1][pvModel] && PlayerVehicle[playerid][2][pvModel] && PlayerVehicle[playerid][3][pvModel] && PlayerVehicle[playerid][4][pvModel]) { return SendClientMessage(playerid,COLOR_GREEN,"{33AA33}AUTOHAUS{FFFF00}:{33AA33} {FFFFFF}Du besitzt bereits 5 Fahrzeuge! Du musst erst einen verkaufen, wenn du einen anderen kaufen willst."); }
    SetPlayerVirtualWorld(playerid,playerid); //jeder Spieler hat die Virtuelle welt von seiner spielerid. so hat jeder seine eigene virtuelle welt, und so gibt es auch kein Weg dass 2 spieler sich treffen, während sie wagen auswählen =)
    TogglePlayerControllable(playerid,0);
    SetPlayerPos(playerid,VehicleReviewData[vrVehiclePos][0],VehicleReviewData[vrVehiclePos][1],(VehicleReviewData[vrVehiclePos][2]-5));
    SetPlayerCameraPos(playerid,VehicleReviewData[vrCameraPos][0],VehicleReviewData[vrCameraPos][1],VehicleReviewData[vrCameraPos][2]);
    SetPlayerCameraLookAt(playerid,VehicleReviewData[vrVehiclePos][0],VehicleReviewData[vrVehiclePos][1],VehicleReviewData[vrVehiclePos][2]);


    ShowingVehicle[playerid]=0;
    ReviewingVehicleID[playerid]=CreateVehicle(ShopVehicle[0][svModel],VehicleReviewData[vrVehiclePos][0],VehicleReviewData[vrVehiclePos][1],VehicleReviewData[vrVehiclePos][2],VehicleReviewData[vrVehiclePos][3],-1,-1,60);
    SetVehicleParamsForAll(ReviewingVehicleID[playerid],1,1);
    SetVehicleVirtualWorld(ReviewingVehicleID[playerid],playerid);
    SendClientMessage(playerid,COLOR_GREEN,"{33AA33}AUTOHAUS{FFFF00}:{33AA33} Verwende {FFFF00}Rechte & Linke Maustaste{33AA33} um dir die Fahrzeuge auswählen zu können!");
    SendClientMessage(playerid,COLOR_GREEN,"{33AA33}AUTOHAUS{FFFF00}:{33AA33} Verwende {FFFF00}Enter/Taste F{33AA33} um das Autohaus verlassen!");
    SendClientMessage(playerid,COLOR_GREEN,"{33AA33}AUTOHAUS{FFFF00}:{33AA33} Verwende die {FFFF00}Leertaste (Space){33AA33}, um das Fahrzeug zu kaufen, die du dir ansiehst!");
    format(string,sizeof(string),"~w~%s~n~~g~$%d",VehicleName[ShopVehicle[0][svModel]-400],ShopVehicle[0][svCost]);
    GameTextForPlayer(playerid,string,30000,4);
    }
    return 1;
    }


    allerdings habe ich keinen Code, welcher bestimmt welches Fahrzeug ich grad im Slot habe, sondern welches Fahrzeug grad in der nähe ist - das wird dann z.b. auf-/abgeschlossen

    Achso, ich dachte, dass war immer andersrum... naja, also nochmal alles umschreiben :D:S
    Danke Jeffry für deine Hilfe :)


    Edit:


    @Jeffry
    Ich brauche dich doch nochmal...
    ich habe nun das Problem, wenn ich das Auto geparkt habe (/car park), mich dann auslogge und wieder rein komme, steht es nicht an seiner eig. Park-Position, sondern am Ausgabepunkt des Autohauses, zudem wenn ich mir 2 Fahrzeuge kaufe, kann ich nur das zu erst gekaufte Fahrzeug aufmachen (mit /car lock). Am Anfang, wenn ich in das Autohaus rein gehe, und mir ein Auto aussuchen will, dann kommt auf einmal etwas mit der Geldwäsche, was eig. im GameMode-Script verbaut ist. Liegt es daran, dass das FS sich nicht mir dem GMS verträgt?


    Die Codes:

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(!strcmp(cmdtext,"/car",true,4))
    {
    new pChoise[5];
    strpack(pChoise,strpart(cmdtext,1));
    if(!strlen(pChoise))
    {
    SendClientMessage(playerid,COLOR_GRAD1,"Verwendung: /car [Anwendung]");
    SendClientMessage(playerid,COLOR_GRAD1,"Anwendungen: lock, park, sell");
    return 1;
    }
    if(!strcmp(pChoise,"lock",true))
    {
    new vehtolock=0;
    if(!IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][0][pvID],2.0) && !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][1][pvID],2.0) && !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][2][pvID],2.0) && !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][3][pvID],2.0) && !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][4][pvID],2.0)) { return SendClientMessage(playerid,COLOR_GRAD1,"Du bist nicht bei deinem Fahrzeug!"); }
    if(IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][0][pvID],2.0) && IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][1][pvID],2.0) && IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][2][pvID],2.0) && IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][3][pvID],2.0) && IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][4][pvID],2.0)) { vehtolock=1; }
    if(!VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]) { //falls der Wagen aufgeschlossen ist...:
    VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]=1;
    GameTextForPlayer(playerid,"~r~abgeschlossen",3000,6); }
    else { //...andernfalls...:
    VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]=0;
    GameTextForPlayer(playerid,"~g~aufgeschlossen",3000,6); }
    SetVehicleParamsForAll(PlayerVehicle[playerid][vehtolock][pvID],0,VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]);
    return 1;
    }
    if(!strcmp(pChoise,"sell",true))
    {
    new vehtosell,str[4],pName[MAX_PLAYER_NAME],string[64],i,File:csfile;
    if(!IsPlayerInRangeOfPoint(playerid,7.0,bpcoords[0],bpcoords[1],bpcoords[2]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID]))
    { return
    SendClientMessage(playerid,COLOR_GRAD1,"Du befindest dich nicht am Autohaus (Kaufpoint) und/oder im Fahrzeug!");
    }
    if(IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { vehtosell=1; }
    PlayerVehicle[playerid][vehtosell][pvModel]=0;
    PlayerVehicle[playerid][vehtosell][pvX]=0.0;
    PlayerVehicle[playerid][vehtosell][pvY]=0.0;
    PlayerVehicle[playerid][vehtosell][pvZ]=0.0;
    PlayerVehicle[playerid][vehtosell][pvA]=0.0;
    PlayerVehicle[playerid][vehtosell][pvColor1]=0;
    PlayerVehicle[playerid][vehtosell][pvColor2]=0;
    PlayerVehicle[playerid][vehtosell][pvPaintjob]=0;
    for(i=0;i<13;i++) {
    PlayerVehicle[playerid][vehtosell][pvModSlot][i]=0; }
    SetPlayerPos(playerid,carspawn[0],carspawn[1],carspawn[2]);
    DestroyVehicle(PlayerVehicle[playerid][vehtosell][pvID]);
    PlayerVehicle[playerid][vehtosell][pvID]=0;
    format(str,4,"[%d]",vehtosell);
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    csfile=fopen(string,io_read);
    for(i=0; fread(csfile,string); i++) { if(!strcmp(string,str,false,2)) { break; } }
    fclose(csfile);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    fremoveline(string,i);
    csfile=fopen(string,io_read);
    fread(csfile,string),fclose(csfile);
    if(!strlen(string)) { format(string,sizeof(string),"gFahrzeuge/%s.car",pName); fremove(string); }
    for(i=0;i<MAX_CARS_AT_SHOP;i++) { if(ShopVehicle[i][svModel]==PlayerVehicle[playerid][vehtosell][pvModel]) break; }
    if(i == MAX_CARS_AT_SHOP) return SendClientMessage(playerid,COLOR_GRAD1,"Dieses Fahrzeug ist kein ShopVehicle-Model.");
    GivePlayerMoney(playerid,ShopVehicle[i][svCost]/2);
    SendClientMessage(playerid,COLOR_GREEN,"» Du hast dein Fahrzeug erfolgreich zurück an das Autohaus verkauft und hast die Hälfte des Fahrzeugwertes erhalten!");
    return 1;
    }
    if(!strcmp(pChoise,"park",true))
    {
    new vehtopark;
    if(!IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { return SendClientMessage(playerid,COLOR_GRAD1,"Du bist nicht in der nähe des Autohauses (Verkaufspoint)!"); }
    if(IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) && IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { vehtopark=1; }
    GetVehiclePos(PlayerVehicle[playerid][0][pvID] && PlayerVehicle[playerid][1][pvID] && PlayerVehicle[playerid][2][pvID] && PlayerVehicle[playerid][3][pvID] && PlayerVehicle[playerid][4][pvID],PlayerVehicle[playerid][vehtopark][pvX],PlayerVehicle[playerid][vehtopark][pvY],PlayerVehicle[playerid][vehtopark][pvZ]);
    GetVehicleZAngle(PlayerVehicle[playerid][0][pvID] && PlayerVehicle[playerid][1][pvID] && PlayerVehicle[playerid][2][pvID] && PlayerVehicle[playerid][3][pvID] && PlayerVehicle[playerid][4][pvID],PlayerVehicle[playerid][vehtopark][pvA]);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du hast dein Fahrzeug {006600}erfolgreich{FFFFFF} an dieser Posistion geparkt!");
    SavePlayerVehicle(playerid);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du kannst dein Fahrzeug nun wenn du dich einloggst, immer hier finden!");
    return 1;
    }
    return 1;
    }
    return 0;
    }


    und wo das Fahrzeug gespeichert wird:

    stock SavePlayerVehicle(playerid) {
    new string[256],pName[MAX_PLAYER_NAME],File:pvfile;
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    pvfile=fopen(string,io_write);
    for(new i=0; i<5; i++) {
    if(PlayerVehicle[playerid][i][pvModel]) {
    new str[2][64];
    format(string,sizeof(string),"[%d] %d %f %f %f %f %d %d %d ",i,PlayerVehicle[playerid][i][pvModel],PlayerVehicle[playerid][i][pvX],PlayerVehicle[playerid][i][pvY],PlayerVehicle[playerid][i][pvZ],PlayerVehicle[playerid][i][pvA],PlayerVehicle[playerid][i][pvColor1],PlayerVehicle[playerid][i][pvColor2],PlayerVehicle[playerid][i][pvPaintjob]);
    format(str[0],64,"%d %d %d %d %d %d %d ",PlayerVehicle[playerid][i][pvModSlot][0],PlayerVehicle[playerid][i][pvModSlot][1],PlayerVehicle[playerid][i][pvModSlot][2],PlayerVehicle[playerid][i][pvModSlot][3],PlayerVehicle[playerid][i][pvModSlot][4],PlayerVehicle[playerid][i][pvModSlot][5],PlayerVehicle[playerid][i][pvModSlot][6]);
    format(str[1],64,"%d %d %d %d %d %d %d\r\n",PlayerVehicle[playerid][i][pvModSlot][7],PlayerVehicle[playerid][i][pvModSlot][8],PlayerVehicle[playerid][i][pvModSlot][9],PlayerVehicle[playerid][i][pvModSlot][10],PlayerVehicle[playerid][i][pvModSlot][11],PlayerVehicle[playerid][i][pvModSlot][12],PlayerVehicle[playerid][i][pvModSlot][13]);
    strins(string,str[0],strlen(string)),strins(string,str[1],strlen(string));
    fwrite(pvfile,string); } }
    return fclose(pvfile); }

    @Jeffry
    muss ich eig. bei zum beispiel:
    !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID])
    ein && oder ein | | setzen?


    und findest du noch irgendwelche Fehler? :S weil, irgendwie sieht das mit den | | und && komisch aus ?(
    muss das so sein?

    Poste bitte den ganzen Befehl.

    Der ganze Code:

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(!strcmp(cmdtext,"/car",true,4))
    {
    new pChoise[5];
    strpack(pChoise,strpart(cmdtext,1));
    if(!strlen(pChoise))
    {
    SendClientMessage(playerid,COLOR_GRAD1,"Verwendung: /car [Anwendung]");
    SendClientMessage(playerid,COLOR_GRAD1,"Anwendungen: lock, park, sell");
    return 1;
    }
    if(!strcmp(pChoise,"lock",true))
    {
    new vehtolock=0;
    if(!IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][0][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][1][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][2][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][3][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][4][pvID],2.0)) { return SendClientMessage(playerid,COLOR_GRAD1,"Du bist nicht bei deinem Fahrzeug!"); }
    if(!IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][0][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][1][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][2][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][3][pvID],2.0) || !IsPlayerNearVehicle(playerid,PlayerVehicle[playerid][4][pvID],2.0)) { vehtolock=1; }
    if(!VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]) { //falls der Wagen aufgeschlossen ist...:
    VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]=1;
    GameTextForPlayer(playerid,"~r~abgeschlossen",3000,6); }
    else { //...andernfalls...:
    VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]=0;
    GameTextForPlayer(playerid,"~g~aufgeschlossen",3000,6); }
    SetVehicleParamsForAll(PlayerVehicle[playerid][vehtolock][pvID],0,VehicleDoorStatus[PlayerVehicle[playerid][vehtolock][pvID]]);
    return 1;
    }
    if(!strcmp(pChoise,"sell",true))
    {
    new vehtosell,str[4],pName[MAX_PLAYER_NAME],string[64],i,File:csfile;
    if(!IsPlayerInRangeOfPoint(playerid,7.0,bpcoords[0],bpcoords[1],bpcoords[2]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) && !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID]))
    { return
    SendClientMessage(playerid,COLOR_GRAD1,"Du befindest dich nicht am Autohaus (Kaufpoint) und/oder im Fahrzeug!");
    }
    if(!IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { vehtosell=1; }
    PlayerVehicle[playerid][vehtosell][pvModel]=0;
    PlayerVehicle[playerid][vehtosell][pvX]=0.0;
    PlayerVehicle[playerid][vehtosell][pvY]=0.0;
    PlayerVehicle[playerid][vehtosell][pvZ]=0.0;
    PlayerVehicle[playerid][vehtosell][pvA]=0.0;
    PlayerVehicle[playerid][vehtosell][pvColor1]=0;
    PlayerVehicle[playerid][vehtosell][pvColor2]=0;
    PlayerVehicle[playerid][vehtosell][pvPaintjob]=0;
    for(i=0;i<13;i++) {
    PlayerVehicle[playerid][vehtosell][pvModSlot][i]=0; }
    SetPlayerPos(playerid,carspawn[0],carspawn[1],carspawn[2]);
    DestroyVehicle(PlayerVehicle[playerid][vehtosell][pvID]);
    PlayerVehicle[playerid][vehtosell][pvID]=0;
    format(str,4,"[%d",vehtosell);
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    csfile=fopen(string,io_read);
    for(i=0; fread(csfile,string); i++) { if(!strcmp(string,str,false,2)) { break; } }
    fclose(csfile);
    format(string,sizeof(string),"gFahrzeuge/%s.car",pName);
    fremoveline(string,i);
    csfile=fopen(string,io_read);
    fread(csfile,string),fclose(csfile);
    if(!strlen(string)) { format(string,sizeof(string),"gFahrzeuge/%s.car",pName); fremove(string); }
    for(i=0;i<MAX_CARS_AT_SHOP;i++) { if(ShopVehicle[i][svModel]==PlayerVehicle[playerid][vehtosell][pvModel]) break; }
    GivePlayerMoney(playerid,ShopVehicle[i][svCost]/2);
    SendClientMessage(playerid,COLOR_GREEN,"» Du hast dein Fahrzeug erfolgreich zurück an das Autohaus verkauft und hast die Hälfte des Fahrzeugwertes erhalten!");
    return 1;
    }
    if(!strcmp(pChoise,"park",true))
    {
    new vehtopark;
    if(!IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { return SendClientMessage(playerid,COLOR_GRAD1,"Du bist nicht in der nähe des Autohauses (Verkaufspoint)!"); }
    if(!IsPlayerInVehicle(playerid,PlayerVehicle[playerid][0][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][1][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][2][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][3][pvID]) || !IsPlayerInVehicle(playerid,PlayerVehicle[playerid][4][pvID])) { vehtopark=1; }
    GetVehiclePos(PlayerVehicle[playerid][0][pvID] || PlayerVehicle[playerid][1][pvID] || PlayerVehicle[playerid][2][pvID] || PlayerVehicle[playerid][3][pvID] || PlayerVehicle[playerid][4][pvID],PlayerVehicle[playerid][vehtopark][pvX],PlayerVehicle[playerid][vehtopark][pvY],PlayerVehicle[playerid][vehtopark][pvZ]);
    GetVehicleZAngle(PlayerVehicle[playerid][0][pvID],PlayerVehicle[playerid][vehtopark][pvA]);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du hast dein Fahrzeug {006600}erfolgreich{FFFFFF} an dieser Posistion geparkt!");
    SavePlayerVehicle(playerid);
    SendClientMessage(playerid,COLOR_WHITE,"» {FFFFFF}Du kannst dein Fahrzeug nun wenn du dich einloggst, immer hier finden!");
    return 1;
    }
    return 1;
    }
    return 0;


    }