LOH Motoradladen Bug!How To Fix

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Ich habe gerade eben schon einen Thread aufgemacht in dem mir sofort geholfen wurde :) Ich hoffe das ist auch hier der Fall.
    Jedenfalls gibt es auf dem LOHScript einen Bug undzwar folgenden
    Wenn man Jmd tötet und in seinen Totenkopf reinläuft kommt man in den Motoradladen.
    Aber beim Motoradladen ist kein Koffer in den Man reinlaufen muss damit man ein Motorad kaufen kann.
    Wie kann ich die Totenköpfe aus LOH 0.4 Script entfernen
    Und wie kann ich dort den Koffer erscheinen lassen beim Motoradladen in den man reinlaufen muss ?
    Hier etwasin Zeile 4906 gefunden
    public OnPlayerDeath(playerid, killerid, reason)
    {
    M_OnPlayerDeath(playerid,killerid,reason);
    new name[MAX_PLAYER_NAME];
    new string[256];
    new playercash;
    new victimteam;
    new Float:px,Float:py,Float:pz;
    new killerteam;
    InCargo[playerid] = 0; InLevi[playerid] = 0;
    if((AtRegestration[playerid] == 0 && PlayerPaintballing[playerid] == 0) && FirstSpawn[playerid] == 0)
    {
    PlayerInfo[playerid][pTot] = 1;
    new Float:pX,Float:pY,Float:pZ;
    GetPlayerPos(playerid, pX, pY, pZ);
    TotenKopf[playerid][0] = CreatePickup(1254,1, pX, pY, pZ);
    PlayerInfo[playerid][pTx] = pX;
    PlayerInfo[playerid][pTy] = pY;
    PlayerInfo[playerid][pTz] = pZ;
    GetPlayerName(playerid, name, sizeof(name));
    SendClientMessage(playerid,COLOR_LIGHTBLUE, "Du wurdest schwer verletzt ins Krankenhaus gebracht!");
    // SendClientMessage(playerid,COLOR_LIGHTBLUE, "Möchtest du einen Arzt?(/needmedic)");
    if(GetPlayerInterior(playerid) == 0)
    {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(PlayerInfo[i][pMember] == 4 || PlayerInfo[i][pLeader] == 4)
    {
    Etwas in Zeile 5889
    public OnPlayerPickUpPickup(playerid,pickupid)
    {
    for(new x = 0; x < AUTOHAUSER;x++)
    {
    if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    TogglePlayerControllable(playerid, 0);
    SetPlayerVirtualWorld(playerid,55+playerid);
    new string[246];
    dtc_AutohausCar[playerid] = 0;
    dtc_AutohausCat[playerid] = x;
    new c1 = random(120);
    new c2 = random(120);
    new car;
    new preis;
    for(new ah = 0; ah < sizeof(dtcKaufliste);ah++)
    {
    if(car == 0 && dtcKaufliste[ah][dtc_Autohaus] == x)
    {
    car = dtcKaufliste[ah][dtc_CarModel];
    preis = dtcKaufliste[ah][dtc_CarModel];
    }
    }
    SetPlayerCameraPos(playerid, DtcSonstiges[x][2][0],DtcSonstiges[x][2][1],DtcSonstiges[x][2][2]);
    SetPlayerCameraLookAt(playerid, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2]);
    dtc_AutohausSCar[playerid] = CreateVehicle(car, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2],DtcSonstiges[x][1][3],c1,c2,-1);
    SetPlayerPos(playerid, DtcSonstiges[x][3][0],DtcSonstiges[x][3][1],DtcSonstiges[x][3][2]);
    SetVehicleVirtualWorld(dtc_AutohausSCar[playerid],55+playerid);
    format(string,sizeof(string),"~r~---------- AUTOHAUS ----------~n~~g~Fahrzeug: ~w~%s~n~~g~Preis: ~w~$%d~n~~b~Auswaehlen:~n~~w~ <Num 4<~b~&~w~>Num 6> ~n~~b~Kaufen:~w~ Enter ~n~~b~Abbrechen:~w~ Tab",CarName[car-400],preis);
    if(!CarKauf[playerid])
    {
    CarKauf[playerid] = TextDrawCreate(200,310,string);
    TextDrawAlignment(CarKauf[playerid],1);
    TextDrawUseBox(CarKauf[playerid],1);
    TextDrawBoxColor(CarKauf[playerid],0x000000FF);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawBackgroundColor(CarKauf[playerid],COLOR_BLACK);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawFont(CarKauf[playerid], 2);
    //TextDrawSetProportional(CarKauf[playerid], 2);
    TextDrawTextSize(CarKauf[playerid],450,410);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    else
    {
    TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawSetString(CarKauf[playerid],string);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    }
    else if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug mit deinem Ausgewählten Schlüssel !");
    SendClientMessage(playerid, COLOR_GREY, " Verkaufe es mit /carsell oder wechsel den Schlüssel mit /carkey !");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug! Verkaufe es mit /carsell");
    }
    }
    Hoffe das ist alles ,
    wenn nicht hier ist das GM Klick hier
    Danke das du ZKX mir schon wieder hilfst :)
    Mfg
    Roleplayer


    /Der alte Thread wurde Closed weil ich ausversehen mein Beitrag gelöscht habe

  • TotenKopf[playerid][0]
    Wofür die 0 im zweiten Array? Entfern doch den zweiten Array komplett. Und ich brauche immernoch die Zeile wo das Autohaus Pickup erstellt wird, nicht das Totenkopf.. Sowie warum machst du einen neuen Thread anstatt im alten weiter zu schreiben?

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • Das musst du natürlich im Grundbau auch entfernen nicht nur bei der einen Zeile. Und ich warte immernoch auf die Zeilen wo das Pickup für das Autohaus erstellt wird.. Nicht finden ist keine Ausrede, such mal nach Dtc_Info da steht es sicher irgendwo.

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • Zeile 539

    new dtcKaufliste[][dtcCarModell] = { //CARSYS
    //0 = 2 Räder
    {0,462,700}, //Faggio
    {0,581,7000}, //BF-400
    {0,521,7400}, //FCR-900
    {0,463,9000}, //Freeway
    {0,461,7300}, //PCJ-600
    {0,468,7100}, //Sanchez
    {0,586,6500}, //Wayfarer
    {0,522,15000}, //NRG-500
    {0,471,9500}, //Quad
    //1 = LS Studios (Mittel-Teuer)
    {1,533,8500}, //Feltzer
    {1,579,14000}, //Huntley
    {1,507,12000}, //Elegant
    {1,419,8000}, //Esperant
    {1,526,7000}, //Fortune
    {1,602,20000}, //Alpha
    {1,400,12000}, //Landstal
    {1,545,7300}, //Hustler
    {1,405,16000}, //Sentinel
    {1,445,16000}, //Admiral
    {1,475,12000}, //Sabre
    // 2 = LS Count & Schutz (Billige-Gang)
    {2,467,13000}, //Oceanic
    {2,536,7500}, //Blade
    {2,534,7000}, //Remigton
    {2,567,12000}, //Savanna
    {2,535,20000}, //Slamvan
    {2,412,7000}, //Voodo
    {2,518,7000}, //Buccanee
    {2,542,4000}, //Clover
    {2,496,8000}, //Blistac
    {2,587,18000}, //Euros
    //3 = SF WangCars (Mittel-Gemischt)
    {3,439,10000}, //Stallion
    {3,550,7500}, //Sunrise
    {3,540,7500}, //Vincent
    {3,404,6000}, //Peren
    {3,413,8500}, //Pony
    {3,458,7500}, //Solair
    {3,479,7500}, //Regina
    {3,440,8300}, //Rumpo
    {3,423,6000}, //Eiswagen (Mrwhoop)
    {3,483,8000}, //Camper
    {3,500,6700}, //Mesa
    {3,508,9000}, //Journey
    {3,554,16000}, //Yosemite
    {3,561,25000}, //Startum
    {3,489,18500}, //Rancher
    {3,543,4900}, //Sadler
    {3,442,7500}, //Leichenwagen
    {3,527,7100}, //Cadrona
    //4 = SF Otto (Luxus-Renn Wagen)
    {4,409,40000}, //Stretch
    {4,562,30000}, //Elegy
    {4,560,40000}, //Sultan
    {4,429,35000}, //Banshee
    {4,402,30000}, //Buffalo
    {4,541,50000}, //Bullet
    {4,415,47000}, //Cheetah
    {4,589,17000}, //Club
    {4,411,50000}, //Infernus
    {4,559,33000}, //Jester
    {4,603,17000}, //Phönix
    {4,506,35000}, //Supergt
    {4,451,45000}, //Turismo
    {4,558,20000}, //Uranus
    {4,477,39000}, //Zr350
    {4,565,29000} //Flash
    };


    new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
    {//2Räder LS
    {2471.7231, -1558.3952, 23.5809, 0.0},
    {2474.7231, -1558.3952, 23.5751, 0.0},
    {2477.7231, -1558.3952, 23.5771, 0.0},
    {2480.7231, -1558.3952, 23.5921, 0.0},
    {2483.7231, -1558.3952, 23.6092, 0.0},
    {2486.7231, -1558.3952, 23.6319, 0.0}
    },
    {//LS Studio
    {743.0629, -1334.0764, 13.2483, 180.0},
    {748.0629, -1334.0764, 13.2708, 180.0},
    {753.0629, -1334.0764, 13.2483, 180.0},
    {758.0629, -1334.0764, 13.2708, 180.0},
    {763.0629, -1334.0764, 13.2708, 180.0},
    {768.0629, -1334.0764, 13.2708, 180.0}
    },
    {//LS CarSeller
    {2148.0617, -1138.3233, 25.1975, 270.0},
    {2148.5222, -1143.1345, 24.6887, 270.0},
    {2147.8491, -1148.3714, 24.1134, 270.0},
    {2147.5104, -1152.7818, 23.6500, 270.0},
    {2162.6025, -1143.5594, 24.5686, 90.0},
    {2162.1083, -1148.1929, 24.0967, 90.0}
    },
    {//SF WangCars
    {-1989.7611, 274.7534, 34.8779, 264.6156},
    {-1989.5825, 269.7829, 34.8801, 267.2173},
    {-1990.5858, 264.7871, 34.8799, 266.7876},
    {-1990.8823, 261.4637, 34.8847, 269.7044},
    {-1991.2576, 256.8243, 34.8771, 268.2578},
    {-1992.4147, 251.5304, 34.8773, 265.7555}
    },
    {//SF Otto
    {-1655.6544, 1314.9093, 6.7437, 135.0215},
    {-1651.9338, 1311.1221, 6.7386, 135.3069},
    {-1648.4603, 1307.6773, 6.7355, 134.1947},
    {-1644.4732, 1304.8732, 6.7335, 134.7024},
    {-1641.2857, 1300.8385, 6.7350, 133.8564},
    {-1637.2679, 1297.7364, 6.7388, 134.7171}
    }
    Dtc_Info[AUTOHAUSER];
    new Dtc_PlayerHaveCar[MAX_PLAYERS][MaxVeh];
    new Dtc_PlayerKey[MAX_PLAYERS];
    new RadZahl[AUTOHAUSER];
    new Dtc_Carlock[700];
    new Text: CarKauf[MAX_PLAYERS];
    new dtc_AutohausCar[MAX_PLAYERS],dtc_AutohausCat[MAX_PLAYERS],dtc_AutohausSCar[MAX_PLAYERS];


    //new CARBOTCAR;
    new Text3D:Heinz;
    new AtClothes[MAX_PLAYERS];
    new UnderCoverCar_Sultan;
    new FirstSpawn[MAX_PLAYERS];
    forward ticketsys(string[]); //ticketsystem log
    new pClicked[MAX_PLAYERS];
    new reportname[MAX_PLAYER_NAME+1];
    new ticketmsg[256+1];
    new FensterStatus[MAX_PLAYERS];
    new IsBlacklist[MAX_PLAYERS];
    new Knast[MAX_PLAYERS];
    new KnastTime[MAX_PLAYERS];
    new pIP[MAX_PLAYERS][16];
    new TazerBereit[MAX_PLAYERS];
    new WeapsTaken[MAX_PLAYERS];
    new FraktionsKasse[24];
    new HafenKlause[14];
    new rob;
    new RMBus;
    new Eingeladen[MAX_PLAYERS];
    new TextSpams[MAX_PLAYERS];
    new CMDSpams[MAX_PLAYERS];
    new HitmanLeaderBullet;
    new MoneySpam[MAX_PLAYERS];

    public OnPlayerPickUpPickup(playerid,pickupid)
    {
    for(new x = 0; x < AUTOHAUSER;x++)
    {
    if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    TogglePlayerControllable(playerid, 0);
    SetPlayerVirtualWorld(playerid,55+playerid);
    new string[246];
    dtc_AutohausCar[playerid] = 0;
    dtc_AutohausCat[playerid] = x;
    new c1 = random(120);
    new c2 = random(120);
    new car;
    new preis;
    for(new ah = 0; ah < sizeof(dtcKaufliste);ah++)
    {
    if(car == 0 && dtcKaufliste[ah][dtc_Autohaus] == x)
    {
    car = dtcKaufliste[ah][dtc_CarModel];
    preis = dtcKaufliste[ah][dtc_CarModel];
    }
    }
    SetPlayerCameraPos(playerid, DtcSonstiges[x][2][0],DtcSonstiges[x][2][1],DtcSonstiges[x][2][2]);
    SetPlayerCameraLookAt(playerid, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2]);
    dtc_AutohausSCar[playerid] = CreateVehicle(car, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2],DtcSonstiges[x][1][3],c1,c2,-1);
    SetPlayerPos(playerid, DtcSonstiges[x][3][0],DtcSonstiges[x][3][1],DtcSonstiges[x][3][2]);
    SetVehicleVirtualWorld(dtc_AutohausSCar[playerid],55+playerid);
    format(string,sizeof(string),"~r~---------- AUTOHAUS ----------~n~~g~Fahrzeug: ~w~%s~n~~g~Preis: ~w~$%d~n~~b~Auswaehlen:~n~~w~ <Num 4<~b~&~w~>Num 6> ~n~~b~Kaufen:~w~ Enter ~n~~b~Abbrechen:~w~ Tab",CarName[car-400],preis);
    if(!CarKauf[playerid])
    {
    CarKauf[playerid] = TextDrawCreate(200,310,string);
    TextDrawAlignment(CarKauf[playerid],1);
    TextDrawUseBox(CarKauf[playerid],1);
    TextDrawBoxColor(CarKauf[playerid],0x000000FF);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawBackgroundColor(CarKauf[playerid],COLOR_BLACK);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawFont(CarKauf[playerid], 2);
    //TextDrawSetProportional(CarKauf[playerid], 2);
    TextDrawTextSize(CarKauf[playerid],450,410);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    else
    {
    TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawSetString(CarKauf[playerid],string);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    }
    else if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    SendClientMessage(playerid, COLOR_GREY, "Du besitzt schon ein Fahrzeug mit deinem Ausgewählten Schlüssel !");
    SendClientMessage(playerid, COLOR_GREY, "Verkaufe es mit /carsell oder wechsel den Schlüssel mit /carkey !");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du besitzt schon ein Fahrzeug! Verkaufe es mit /carsell");
    }
    Zeile 10800
    {
    Dtc_Info[i] = CreatePickup(1210, 2, DtcSonstiges[i][0][0],DtcSonstiges[i][0][1],DtcSonstiges[i][0][2],0);
    }


    new Float:DtcSonstiges[AUTOHAUSER][5][4] = {
    {//2Räder LS
    {2471.0097, -1542.7354, 24.1628, 0.0}, // Info Zeichen etc.
    {2475.3952, -1537.1600, 28.6523, 340.2388}, // LiveView Car
    {2472.8505, -1533.2855, 29.0964, 0.0}, // LiveView Cam
    {2468.4548, -1534.1237, 29.1007, 0.0}, // LiveView Player
    {2470.8825, -1544.0834, 24.0406, 178.5745} // LiveView Player Exit
    },
    {//LS Studio
    {750.7259, -1356.9744, 13.5000, 0.0}, // Info Zeichen etc.
    {740.5779, -1365.2796, 25.4192, 225.3830}, // LiveView Car
    {741.2583, -1370.9835, 25.6922, 0.0}, // LiveView Cam
    {741.7747, -1376.3156, 25.6922, 0.0}, // LiveView Player
    {753.6887, -1338.2799, 13.5320, 14.7941} // LiveView Player Exit
    },
    {//LS CarSeller
    {2131.7124, -1151.0965, 24.0838, 0.0}, // Info Zeichen etc.
    {2131.7192, -1163.0882, 27.8755, 301.3163}, // LiveView Car
    {2133.0817, -1156.3632, 28.1484, 0.0}, // LiveView Cam
    {2133.0031, -1154.4589, 28.1484, 0.0}, // LiveView Player
    {2131.7634, -1148.4149, 24.3788, 359.2809} // LiveView Player Exit
    },
    {//SF WangCars
    {-1952.7033, 305.9252, 35.4687, 0.0}, // Info Zeichen etc.
    {-1955.6175, 303.5680, 40.7522, 216.4390}, // LiveView Car
    {-1958.9270, 300.6989, 41.0470, 0.0}, // LiveView Cam
    {-1959.0230, 296.7452, 41.0470, 0.0}, // LiveView Player
    {-1954.0255, 304.5932, 35.4687, 135.2179} // LiveView Player Exit
    },
    {//SF Otto
    {-1657.0843, 1210.9168, 7.2500, 0.0}, // Info Zeichen etc.
    {-1656.0672, 1206.6827, 20.8816, 326.4050}, // LiveView Car
    {-1655.7023, 1213.2756, 21.1562, 0.0}, // LiveView Cam
    {-1656.0598, 1216.6409, 21.1562, 0.0}, // LiveView Player
    {-1656.3897, 1213.1212, 7.2500, 342.5089} // LiveView Player Exit
    }
    };


    enum dtc_PlayerCar
    {
    CarId,
    CarOwner[MAX_PLAYER_NAME],
    CarModel,
    Float:CarPos_x,
    Float:CarPos_y,
    Float:CarPos_z,
    Float:CarRotate,
    CarNitro,
    CarHyd,
    CarWheel,
    CarAusp,
    CarSideL,
    CarSideR,
    CarFB,
    CarRB,
    CarSpoiler,
    CarRoof,
    CarHood,
    CarVents,
    CarLamps,
    CarPJ,
    CarC1,
    CarC2,
    CarPreis,
    };


    new PlayerCar[MAX_PLAYERS][MaxVeh][dtc_PlayerCar];


    new CarName[][] =
    {
    "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel",
    "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus",
    "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
    "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection",
    "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus",
    "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie",
    "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral",
    "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder",
    "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
    "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
    "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
    "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
    "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
    "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
    "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
    "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
    "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
    "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
    "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
    "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
    "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
    "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
    "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
    "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratum",
    "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
    "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
    "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400",
    "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
    "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car",
    "Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha",
    "Phoenix", "2. Gebrauchtwagen", "1. Gebrauchtwagen", "Luggage", "Luggage", "Stairs", "Boxville",
    "Tiller", "Utility Trailer"
    };
    Ich habe einfach alle DTC Infos gesucht und hier reingeschrieben

  • m Totenkopf das kein Totenkopf kommt wenn jemand stirbt, mehr fällt mir dazu gerade nicht ein.


    Habs gemacht ich muss Morgen die User fragen wie das ausschaut
    ZKX Danke du warst Heute ne große Hilfe
    Eine Letze Frage , aber ich weiß nicht ob du sie mir beanwortest
    Wo könnte ich es einstellen das die Admins keine Fraktionscars Fahren dürfen. Nur Fraktionsmitglieder und Admins können die Fraktionscar fahren wie kann ich es einstellen das Admins das nicht können
    Aufjedenfall ZKX Fettes Lob an dich ;)
    Mfg Roleplayer

  • Zeig mal wo die Leute rausgeschmissen werden aus den Fraktionsfahrzeugen, oder wenn ein Text kommt wenn ein Admin einsteigt such den im Script und poste die Zeilen hier.

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • Du hast keinen Schlüssel steht dort als Zivilist
    Als Admin steht dort nix
    }
    }
    if(PlayerInfo[playerid][pAdmin] > 0) { return 1; }


    if(newcar == HitmanLeaderBullet && PlayerInfo[playerid][pLeader] != 8)
    {
    SendClientMessage(playerid,COLOR_WHITE," Dieser Wagen ist Eigentum der Hitmen!");
    RemovePlayerFromVehicle(playerid);
    }
    if(GetVehicleModel(newcar) == 525 && !IsPlayerInFrac(playerid,24))
    {
    SendClientMessage(playerid,COLOR_WHITE," Dieser Wagen ist Eigentum der Abschleppfirma!");
    RemovePlayerFromVehicle(playerid);
    }
    if(!IsPlayerInFrac(playerid,5))
    {
    for(new pv = 0; pv < sizeof(LCNVehs); pv++)
    {
    if(newcar == LCNVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,6))
    {
    for(new pv = 0; pv < sizeof(YakuzaVehs); pv++)
    {
    if(newcar == YakuzaVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,7))
    {
    for(new pv = 0; pv < sizeof(PraesiVehs); pv++)
    {
    if(newcar == PraesiVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,8))
    {
    for(new pv = 0; pv < sizeof(HitmanVehs); pv++)
    {
    if(newcar == HitmanVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,9))
    {
    for(new pv = 0; pv < sizeof(NewsVehs); pv++)
    {
    if(newcar == NewsVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,10))
    {
    for(new pv = 0; pv < sizeof(TaxiVehs); pv++)
    {
    if(newcar == TaxiVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,11) || TakingLesson[playerid] != 1)
    {
    for(new pv = 0; pv < sizeof(FahrschulVehs); pv++)
    {
    if(newcar == FahrschulVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,12))
    {
    for(new pv = 0; pv < sizeof(BikerVehs); pv++)
    {
    if(newcar == BikerVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,13))
    {
    for(new pv = 0; pv < sizeof(GrooveVehs); pv++)
    {
    if(newcar == GrooveVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,14))
    {
    for(new pv = 0; pv < sizeof(BallasVehs); pv++)
    {
    if(newcar == BallasVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,15))
    {
    for(new pv = 0; pv < sizeof(FaFVehs); pv++)
    {
    if(newcar == FaFVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,16))
    {
    for(new pv = 0; pv < sizeof(VagosVehs); pv++)
    {
    if(newcar == VagosVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,17))
    {
    for(new pv = 0; pv < sizeof(AztecasVehs); pv++)
    {
    if(newcar == AztecasVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,18))
    {
    for(new pv = 0; pv < sizeof(RifaVehs); pv++)
    {
    if(newcar == RifaVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,19))
    {
    for(new pv = 0; pv < sizeof(WCCVehs); pv++)
    {
    if(newcar == WCCVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,20))
    {
    for(new pv = 0; pv < sizeof(TerrorVehs); pv++)
    {
    if(newcar == TerrorVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,22))
    {
    for(new pv = 0; pv < sizeof(FeuerwehrVehs); pv++)
    {
    if(newcar == FeuerwehrVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,23))
    {
    for(new pv = 0; pv < sizeof(RMVehs); pv++)
    {
    if(newcar == RMVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,24))
    {
    for(new pv = 0; pv < sizeof(oAmtVehs); pv++)
    {
    if(newcar == oAmtVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }


    Habs selber gelöst
    if(PlayerInfo[playerid][pAdmin] > 0) { return 1; }
    einfach gelöscht
    großes danke an ZKX !! Closed!