Beiträge von Soldtodie

    Ich hätte mal eine Frage wie ich einstellen könnte das wenn ich mir ein Auto kaufe und dann jemand anderes einsteigt und der Motor aus ist und er ihn anmachen will dort steht du hast keinen schlüssel, aber wenn der motor an ist kann er mit dem Auto fahren.


    Ich hoffe ich bekomme schnell eine Antwort !


    Danke!!!


    //Edit carsystem = Dt_Car

    if(strcmp(cmd, "/autotp", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /autotp [carid]");
    return 1;
    }
    new Float:plocx,Float:plocy,Float:plocz;
    new plo;
    plo = strval(tmp);
    if (PlayerInfo[playerid][pAdmin] >= 3)
    {
    GetPlayerPos(playerid, plocx, plocy, plocz);
    SetVehiclePos(plo,plocx,plocy+4, plocz);
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Du darfst diesen Befehl nicht benutzen!");
    }
    }
    return 1;


    /Edit Pawn Quelltext geändert

    if(strcmp(cmd, "/carsave", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    new Float:x,Float:y,Float:z;
    new Float:a;
    new carid;
    carid = GetPlayerVehicleID(playerid);
    GetPlayerName(playerid, playername, sizeof(playername));
    GetVehiclePos(carid, x, y, z);
    // GetPlayerFacingAngle(playerid, a);
    GetVehicleZAngle(carid, a);
    if(PlayerInfo[playerid][pAdmin] >= 1340)
    {
    CarInfo[carid][cLocationx] = x;
    CarInfo[carid][cLocationy] = y;
    CarInfo[carid][cLocationz] = z;
    CarInfo[carid][cAngle] = a;
    format(string, sizeof(string), "~n~ Du hast das Fraktionscar hier geparkt ~n~");
    GameTextForPlayer(playerid, "Du hast dieses Fraktionscar in dieser Position geparkt.Es wird hier respawnen.", 10000, 3);
    OnPropUpdate();
    OnPlayerUpdate(playerid);
    DestroyVehicle(carid);
    CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht authorisiert diesen Befehl zu verwenden! ");
    return 1;
    }
    }
    return 1;
    }


    /Edit in Pawn-Quelltext gepackt

    Hallo, ich hab en kleines Prob wenn ich mir en auto kaufe im Autohaus dann verschwinden die wieder beim ausloggen und der nächste kann sie dann nicht mehr sehen aber wenn ich mich wieder einlogge sind sie wieder da was kann ich machen?


    Und wenn jemand in mein Auto steigt dann kann er einfach den Motor anmachen obwohl er kein schlüssel hat?


    Danke schonmal im Vorraus.


    /edit Das Autohaus ist von [DT]Sniper


    /edit 2 ich glaube ich habe die Lösung gefunden mit Dini des machen aber ich weiß nicht wie ich das machen kann wenn einer ein script hat und es mir schicken könnte wäre ich sehr dankbar.

    Bei dem Script kommt immer eine Fehlermeldung!!!


    G:\echter samp server richtiger\GTA Samp Server\gamemodes\GTAReallifeU18Server0.3b.pwn(2178) : error 021: symbol already defined: "OnPlayerEnterVehicle"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Was hab ich falsch gemacht?


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] >= 3) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {} else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Diebstahl eines Polizei Fahrzeugs"); } } if (IsAnAmbulance(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { } else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Diebstahl eines Krankenwagen"); } } } new msg[256]; format(msg,sizeof(msg),"MODEL: %d ID: %d",GetVehicleModel(vehicleid),vehicleid); SendClientMessage(playerid,0xFF6900AA,msg); return 1; }

    Edit: In einen Pawn Queltext reingepackt.
    public OnGameModeInit()
    {
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
    for(new c=0;c<CAR_AMOUNT;c++)
    {
    Gas[code=c] = GasMax;
    }
    LoadCar();
    CreateFoodMenus();
    CreateGuideMenus();
    CreateLicensesMenuMenus();
    LoadProperty();
    LoadBizz();
    LoadSBizz();
    LoadBoxer();
    LoadStuff();
    LoadIRC();
    LoadFamilies();
    LoadCK();
    LoadTurfs();
    LoadPapers();
    LoadDrugSystem();
    LoadMatsSystem();
    LoadHQLocks();
    LoadTrunk();
    IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
    IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
    IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
    IRCInfo[9][iPlayers] = 0;
    News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
    format(string, sizeof(string), "Nothing");
    strmid(News[hAdd1], string, 0, strlen(string), 255);
    strmid(News[hAdd2], string, 0, strlen(string), 255);
    strmid(News[hAdd3], string, 0, strlen(string), 255);
    strmid(News[hAdd4], string, 0, strlen(string), 255);
    strmid(News[hAdd5], string, 0, strlen(string), 255);
    format(string1, sizeof(string1), "No-one");
    strmid(News[hContact1], string1, 0, strlen(string1), 255);
    strmid(News[hContact2], string1, 0, strlen(string1), 255);
    strmid(News[hContact3], string1, 0, strlen(string1), 255);
    strmid(News[hContact4], string1, 0, strlen(string1), 255);
    strmid(News[hContact5], string1, 0, strlen(string1), 255);
    PlayerHaul[108][pCapasity] = 100;
    PlayerHaul[109][pCapasity] = 100;
    PlayerHaul[110][pCapasity] = 50;
    PlayerHaul[111][pCapasity] = 50;
    SetGameModeText("German Reallife");
    SendRconCommand("mapname San Andreas");
    SendRconCommand("weburl");
    format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
    format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
    format(motd, sizeof(motd), "Wilkommen zu GTA German Reallife U18 Server.");
    gettime(ghour, gminute, gsecond);
    FixHour(ghour);
    ghour = shifthour;
    if(!realtime)
    {
    SetWorldTime(wtime);
    }
    SetPDistance(10);
    AllowInteriorWeapons(1);
    AllowAdminTeleport(0);
    //UsePlayerPedAnims(); //unique walking
    //ShowPlayerMarkers(false);
    DisableInteriorEnterExits();
    EnableStuntBonusForAll(0);

    UsePlayerPedAnims();



    soll ich auf pastebin.com genau des wo ich dir gerade geschickt habe hochladen oder mein prob?

    [13:32:07] Paper:0 Used: 1 Maker:Takuma_Sato Title: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text1: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text2: Text3: Text4: Text5: Text6: Text7:
    [13:32:07] Paper:1 Used: 0 Maker:0


    Title: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text1: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text2: Text3: Text4: Text5: Text6: Text7:
    [13:32:07] Paper:2 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0


    [13:32:07] Paper:3 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [13:32:07] Paper:4 Used: 0 Maker:øÔÄ0 Title: 0


    Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [13:32:07] Paper:5 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0


    [13:32:07] Paper:6 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [13:32:07] Paper:7 Used: 0 Maker:øÔÄ0 Title: 0


    Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [13:32:07] Paper:8 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0


    [13:32:07] Paper:9 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye
    [13:32:07] weburl = "gru18s.forumo.de" (string)
    [13:32:07] Loading 176 pickups... Loaded successfuly !


    Da ist er, aber ich weiß nicht was es dir bringen soll weil es bei jedem server kommt auf bei godfather und so!

    Hallo, ich habe das Problem:
    Ich habe meinen server heute morgen angemacht dann wollte ich rein aber er wird bei samp nicht angezeigt habe die richtige ip und den richtigen port eingegeben und nochmal überprüft und das merkwürdigste ist dass es ja noch gestern ging. Manchmal wird er angezeigt aber wenn ich dann reingehe und 5 schritte mache stürtzt er ab warum?
    Danke schonmal im voraus. Habe auch Port freigegeben.