Beiträge von PsyDom42O

    Unter Showroom kannste die nen Gamemode ziehen und dir denn Cmds raus kopieren oder so..


    if(strcmp(cmd, "/setskin", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "Hilfe : /setskin [playerid/PartOfName] [skin model]");
    return 1;
    }
    new playa;
    new health;
    playa = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    health = strvalEx(tmp);
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
    if(IsPlayerConnected(playa))
    {
    if(playa != INVALID_PLAYER_ID)
    {
    new name[20];
    new victim[20];
    GetPlayerName(playerid, name, sizeof(name));
    GetPlayerName(playa, victim, sizeof(victim));
    PlayerInfo[playa][pModel] = health;
    PlayerInfo[playa][pChar] = health;
    SetPlayerSkin(playa, PlayerInfo[playa][pChar]);
    format(string, 256, "AdmWarning: [%s] Skin wurde auf Skin ID: %d von %s gesezt.",victim,health,name);
    ABroadCast(COLOR_YELLOW,string,1347);
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Du darfst diesen CMD nicht nutzen,schäm dich!");
    }
    }
    return 1;
    }

    so ne Admin basic ist sowas von Sinnlos da die Admins sowieso "falls Rl server" nur am suppporten sind, oder Tv'en und wenn dann einfach /gotolv und da stört euch keiner Autos kann man sich kaufen :P


    Wenn du die base mappst scripte ich für dich das Tor und das Icon..

    Und noch Etwas:
    Es stimmt zwar dass es ein Wettbewerb ist, aber wenn die anderen "Teilnehmer" nicht rechtzeitig fertig geworden sind ist es doch ihr Pech oder nicht?
    N a t e ist rechtzeitig fertig geworden und hat somit als Einziger den Termin eingehalten.
    Wieso also von einem Wettbewerb sprechen wenn es Niemand schafft sein Werk rechtzeitig fertigzustellen?


    Genau so läuft ein Wettbewerb ab egal wie gut die anderen aussehen, also ich finde das von Nate recht gut.

    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht in der Nähe eines Autos.");
    }
    }
    else
    {
    new vid = GetPlayerVehicleID(playerid);
    new szString[32];


    Mach mal die rote klammer weg..


    //E es muss nicht immer am Schluss liegen bei mir war das mal wo ich auch 2 Klammern ohne bewusst hin gestellt habe^^


    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht in der Nähe eines Autos.");
    }
    else
    {
    new vid = GetPlayerVehicleID(playerid);
    new szString[32];

    Public Carinfo(playerid)
    {
    if(!IsPlayerInAnyVehicle(playerid))
    {
    new vid = GetNearestCar(playerid, 3.0);
    if(vid!=INVALID_CAR)
    {
    new szString[32];
    format(szString,sizeof(szString), "Carid: %d",vid);
    format(szString,sizeof(szString), "Besitzer: %s",CarInfo[vid][cOwner]);
    format(szString, sizeof(szString), "Kennzeichen: %s", CarInfo[vid][cKennzeichen]);
    if(CarInfo[vid][cType]==POLIZEI) format(szString, sizeof(szString), "Firma: Polizei");
    else if(CarInfo[vid][cType]==TAXI) format(szString, sizeof(szString), "Firma: Taxi");
    else if(CarInfo[vid][cType]==FAHRSCHULE) format(szString, sizeof(szString), "Firma: Fahrschule");
    else if(CarInfo[vid][cType]==FLUGSCHULE) format(szString, sizeof(szString), "Firma: Flugschule");
    else if(CarInfo[vid][cType]==ADAC) format(szString, sizeof(szString), "Firma: ADAC");
    else if(CarInfo[vid][cType]==OTTO) format(szString, sizeof(szString), "Firma: Otto's Cars");
    else if(CarInfo[vid][cType]==WANG) format(szString, sizeof(szString), "Firma: Wang Cars");
    else if(CarInfo[vid][cType]==FEUER) format(szString, sizeof(szString), "Firma: Feuerwehr");
    else if(CarInfo[vid][cType]==MEDIC) format(szString, sizeof(szString), "Firma: Krankenhaus");
    else if(CarInfo[vid][cType]==TANKER) format(szString, sizeof(szString), "Firma: Oil Company");
    else if(CarInfo[vid][cType]==SPEDITION) format(szString, sizeof(szString), "Firma: Spedition");
    else if(CarInfo[vid][cType]==POST) format(szString, sizeof(szString), "Firma: Post");
    else if(CarInfo[vid][cType]==MULL) format(szString, sizeof(szString), "Firma: Muelldeponie");
    else if(CarInfo[vid][cType]==NEWS) format(szString, sizeof(szString), "Firma: Los Santos Times");
    else if(CarInfo[vid][cType]==BOOT) format(szString, sizeof(szString), "Firma: Los Santos Boote");
    else if(CarInfo[vid][cType]==CREED) format(szString, sizeof(szString), "Firma: Autoverleih");
    else if(CarInfo[vid][cType]==HELISHOP) format(szString, sizeof(szString), "Firma: Heli / Flugzeugshop");
    else if(CarInfo[vid][cType]==BANKER) format(szString, sizeof(szString), "Firma: Bank");
    else if(CarInfo[vid][cType]==RUSSIAN) format(szString, sizeof(szString), "Firma: RUSSIAN Mafia");
    else if(CarInfo[vid][cType]==MOPED) format(szString, sizeof(szString), "Firma: Motorradshop");
    else if(CarInfo[vid][cType]==YAKUZA) format(szString, sizeof(szString), "Firma: Yakuza's");
    else if(CarInfo[vid][cType]==TRIAD) format(szString, sizeof(szString), "Firma: Triaden");
    else if(CarInfo[vid][cType]==AUTOLIEFERER)format(szString, sizeof(szString), "Firma: Autolieferung");
    else if(CarInfo[vid][cType]==PARKHAUS) format(szString, sizeof(szString), "Firma: Parkhaus");
    else if(CarInfo[vid][cType]==BIKER) format(szString, sizeof(szString), "Firma: Biker"); // BIKER
    else if(CarInfo[vid][cType]==Wasser) format(szString, sizeof(szString), "Firma: WasserGrenzSchutz"); // BIKER
    else if(CarInfo[vid][cType]==GROTTI) format(szString, sizeof(szString), "Firma: GrottiCars");
    else if(CarInfo[vid][cType]==shody) format(szString, sizeof(szString), "Firma: ShodysCars");
    else format(szString, sizeof(szString), "Firma: Keine");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht in der Nähe eines Autos.");
    }
    }
    else
    {
    new vid = GetPlayerVehicleID(playerid);
    new szString[32];
    format(szString,sizeof(szString), "Carid: %d",vid);
    format(szString,sizeof(szString), "Besitzer: %s",CarInfo[vid][cOwner]);
    format(szString, sizeof(szString), "Kennzeichen: %s", CarInfo[vid][cKennzeichen]);
    if(CarInfo[vid][cType]==POLIZEI) format(szString, sizeof(szString), "Firma: Polizei");
    else if(CarInfo[vid][cType]==TAXI) format(szString, sizeof(szString), "Firma: Taxi");
    else if(CarInfo[vid][cType]==FAHRSCHULE) format(szString, sizeof(szString), "Firma: Fahrschule");
    else if(CarInfo[vid][cType]==FLUGSCHULE) format(szString, sizeof(szString), "Firma: Flugschule");
    else if(CarInfo[vid][cType]==ADAC) format(szString, sizeof(szString), "Firma: ADAC");
    else if(CarInfo[vid][cType]==OTTO) format(szString, sizeof(szString), "Firma: Otto's Cars");
    else if(CarInfo[vid][cType]==WANG) format(szString, sizeof(szString), "Firma: Wang Cars");
    else if(CarInfo[vid][cType]==FEUER) format(szString, sizeof(szString), "Firma: Feuerwehr");
    else if(CarInfo[vid][cType]==MEDIC) format(szString, sizeof(szString), "Firma: Krankenhaus");
    else if(CarInfo[vid][cType]==TANKER) format(szString, sizeof(szString), "Firma: Oil Company");
    else if(CarInfo[vid][cType]==SPEDITION) format(szString, sizeof(szString), "Firma: Spedition");
    else if(CarInfo[vid][cType]==POST) format(szString, sizeof(szString), "Firma: Post");
    else if(CarInfo[vid][cType]==MULL) format(szString, sizeof(szString), "Firma: Muelldeponie");
    else if(CarInfo[vid][cType]==NEWS) format(szString, sizeof(szString), "Firma: Los Santos Times");
    else if(CarInfo[vid][cType]==BOOT) format(szString, sizeof(szString), "Firma: Los Santos Boote");
    else if(CarInfo[vid][cType]==CREED) format(szString, sizeof(szString), "Firma: Autoverleih");
    else if(CarInfo[vid][cType]==HELISHOP) format(szString, sizeof(szString), "Firma: Heli / Flugzeugshop");
    else if(CarInfo[vid][cType]==BANKER) format(szString, sizeof(szString), "Firma: Bank");
    else if(CarInfo[vid][cType]==RUSSIAN) format(szString, sizeof(szString), "Firma: RUSSIAN");
    else if(CarInfo[vid][cType]==MOPED) format(szString, sizeof(szString), "Firma: Motorradshop");
    else if(CarInfo[vid][cType]==YAKUZA) format(szString, sizeof(szString), "Firma: Yakuza's");
    else if(CarInfo[vid][cType]==TRIAD) format(szString, sizeof(szString), "Firma: Triaden");
    else if(CarInfo[vid][cType]==AUTOLIEFERER)format(szString, sizeof(szString), "Firma: Autolieferung");
    else if(CarInfo[vid][cType]==PARKHAUS) format(szString, sizeof(szString), "Firma: Parkhaus");
    else if(CarInfo[vid][cType]==BIKER) format(szString, sizeof(szString), "Firma: Biker"); // Biker
    else if(CarInfo[vid][cType]==Wasser) format(szString, sizeof(szString), "Firma: Wasser");
    else if(CarInfo[vid][cType]==GROTTI) format(szString, sizeof(szString), "Firma: GrottiCars");
    else if(CarInfo[vid][cType]==shody) format(szString, sizeof(szString), "Firma: ShodysCars");
    else format(szString, sizeof(szString), "Firma: Keine");
    ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 0, "CarInfo's", szString, "Fertig", "Weiter");
    return 1;
    }
    }
    }
    }


    Versuch halt mal mehre zu machen, Groß und klein schreibung zählt das dazu zu einem Crash?

    if (strcmp(cmdtext, "/statuelegen", true) == 0)
    {
    if(PlayerInfo[pMember][playerid] == 9 || PlayerInfo[pLeader][playerid] == 9)
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Finde die Statue", "Möchtest du wirklich eine Statue\nplatzieren?", "Aber Sicher", "Nein Doch nicht");
    }
    return 1;
    }