Pickup Explodiert wenn ich es mit ein Fahrzeug berühe

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
  • Hallo Leute


    Ich habe ein super mega Problem


    Wenn ich paar Pickups im Script erstelle 2 von denen Explodieren ingame einfach so wenn ich neben dran stehe


    Am Anfang war es so dass ich ne deagle mit 40 muni bekommen habe dann habe ich das DeagleDrop system gelöscht und jetzt ist es noch schlimmer ich
    bekomme keine verbuggt deagle sondern der scheiss pickup explodiert


    Wo kann das liegen???? :S :S



  • Function OnPlayerPickUpPickup(playerid,pickupid)
    {


    if(pickupid == versteckup)
    {
    SetTimer("versteck", 300000, 1);
    }
    if(pickupid == port)
    {
    SetPlayerPos(playerid, 189.3784,179.2099,1003.0234);
    SetPlayerInterior(playerid, 3);
    GameTextForPlayer(playerid,"~g~Willkommen im LSPD",4000,3);
    }

  • Beitrag von RayJohnson ()

    Dieser Beitrag wurde gelöscht, Informationen über den Löschvorgang sind nicht verfügbar.
  • Und das ist wohl kaum der gesamte Callback, richtig?
    Wir benötigen den gesamten Callback.


    BTW:
    Der Pawn BB Code - Die richtige Anwendung
    Schau dir das nochmal an, bevor du das nächste mal nen Quellcode schickst.


    /e
    TommyAkaServus:
    Am Pickup Type kann es nicht liegen weil das Pickup ja erst nach Berührung explodiert, nicht nachdem es erstellt wird.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • AddStaticPickup(1318, 10,1081.2441,-1697.1636,13.5469,-1);//Fahrschule Enter
    AddStaticPickup(1239, 10,2442.4827,-1981.3990,13.5469,-1);//Information Pickup


    Schreibe es so:


    AddStaticPickup(1318, 23,1081.2441,-1697.1636,13.5469,-1);//Fahrschule Enter
    AddStaticPickup(1239, 23,2442.4827,-1981.3990,13.5469,-1);//Information Pickup


    Pickup Typ 10 ist bullshit :rolleyes:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Function OnPlayerPickUpPickup(playerid,pickupid)
    {


    if(pickupid == versteckup)
    {
    SetTimer("versteck", 300000, 1);
    }
    if(pickupid == port)
    {
    SetPlayerPos(playerid, 189.3784,179.2099,1003.0234);
    SetPlayerInterior(playerid, 3);
    GameTextForPlayer(playerid,"~g~Willkommen im LSPD",4000,3);
    }
    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];
    new string2[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];
    }
    }
    CarKauf[playerid] = 1;
    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] == 1)
    {
    /*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]);
    AutohausTD0[playerid] = TextDrawCreate(120.000000, 437.000000, "Um das Fahrzeug zu Kaufen druecke die ~b~Enter~w~ Taste~w~ Zum Abbrechen druecke die ~b~Tab~w~ Taste");
    TextDrawBackgroundColor(AutohausTD0[playerid], 255);
    TextDrawFont(AutohausTD0[playerid], 1);
    TextDrawLetterSize(AutohausTD0[playerid], 0.200000, 1.000000);
    TextDrawColor(AutohausTD0[playerid], -1);
    TextDrawSetOutline(AutohausTD0[playerid], 0);
    TextDrawSetProportional(AutohausTD0[playerid], 1);
    TextDrawSetShadow(AutohausTD0[playerid], 1);


    AutohausTD1[playerid] = TextDrawCreate(204.000000, 333.000000, " ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~");
    TextDrawBackgroundColor(AutohausTD1[playerid], 255);
    TextDrawFont(AutohausTD1[playerid], 1);
    TextDrawLetterSize(AutohausTD1[playerid], 0.500000, 1.000000);
    TextDrawColor(AutohausTD1[playerid], 0xFFFFFF88);
    TextDrawSetOutline(AutohausTD1[playerid], 0);
    TextDrawSetProportional(AutohausTD1[playerid], 1);
    TextDrawSetShadow(AutohausTD1[playerid], 1);
    TextDrawUseBox(AutohausTD1[playerid], 1);
    TextDrawBoxColor(AutohausTD1[playerid], 102);
    TextDrawTextSize(AutohausTD1[playerid], 437.000000, 110.000000);


    AutohausTD2[playerid] = TextDrawCreate(280.000000, 332.000000, "~r~Autohaus");
    TextDrawBackgroundColor(AutohausTD2[playerid], 255);
    TextDrawFont(AutohausTD2[playerid], 1);
    TextDrawLetterSize(AutohausTD2[playerid], 0.400000, 1.000000);
    TextDrawColor(AutohausTD2[playerid], -1);
    TextDrawSetOutline(AutohausTD2[playerid], 0);
    TextDrawSetProportional(AutohausTD2[playerid], 1);
    TextDrawSetShadow(AutohausTD2[playerid], 1);


    AutohausTD3[playerid] = TextDrawCreate(203.000000, 351.000000, "Fahrzeug Name: ~b~%d");
    TextDrawBackgroundColor(AutohausTD3[playerid], 255);
    TextDrawFont(AutohausTD3[playerid], 1);
    TextDrawLetterSize(AutohausTD3[playerid], 0.300000, 1.000000);
    TextDrawColor(AutohausTD3[playerid], -1);
    TextDrawSetOutline(AutohausTD3[playerid], 0);
    TextDrawSetProportional(AutohausTD3[playerid], 1);
    TextDrawSetShadow(AutohausTD3[playerid], 1);


    AutohausTD4[playerid] = TextDrawCreate(204.000000, 362.000000, "Preis: ~b~$ %d");
    TextDrawBackgroundColor(AutohausTD4[playerid], 255);
    TextDrawFont(AutohausTD4[playerid], 1);
    TextDrawLetterSize(AutohausTD4[playerid], 0.300000, 1.000000);
    TextDrawColor(AutohausTD4[playerid], -1);
    TextDrawSetOutline(AutohausTD4[playerid], 0);
    TextDrawSetProportional(AutohausTD4[playerid], 1);
    TextDrawSetShadow(AutohausTD4[playerid], 1);


    AutohausTD5[playerid] = TextDrawCreate(202.000000, 389.000000, "~r~Fahrzeug Wechseln:");
    TextDrawBackgroundColor(AutohausTD5[playerid], 255);
    TextDrawFont(AutohausTD5[playerid], 1);
    TextDrawLetterSize(AutohausTD5[playerid], 0.300000, 1.000000);
    TextDrawColor(AutohausTD5[playerid], -1);
    TextDrawSetOutline(AutohausTD5[playerid], 0);
    TextDrawSetProportional(AutohausTD5[playerid], 1);
    TextDrawSetShadow(AutohausTD5[playerid], 1);


    AutohausTD6[playerid] = TextDrawCreate(204.000000, 400.000000, "Weiter: ~b~Numpad 6");
    TextDrawBackgroundColor(AutohausTD6[playerid], 255);
    TextDrawFont(AutohausTD6[playerid], 1);
    TextDrawLetterSize(AutohausTD6[playerid], 0.300000, 1.000000);
    TextDrawColor(AutohausTD6[playerid], -1);
    TextDrawSetOutline(AutohausTD6[playerid], 0);
    TextDrawSetProportional(AutohausTD6[playerid], 1);
    TextDrawSetShadow(AutohausTD6[playerid], 1);


    AutohausTD7[playerid] = TextDrawCreate(204.000000, 410.000000, "Zurueck: ~b~Numpad 4");
    TextDrawBackgroundColor(AutohausTD7[playerid], 255);
    TextDrawFont(AutohausTD7[playerid], 1);
    TextDrawLetterSize(AutohausTD7[playerid], 0.300000, 1.000000);
    TextDrawColor(AutohausTD7[playerid], -1);
    TextDrawSetOutline(AutohausTD7[playerid], 0);
    TextDrawSetProportional(AutohausTD7[playerid], 1);
    TextDrawSetShadow(AutohausTD7[playerid], 1);


    format(string,sizeof(string),"Fahrzeug Name: ~b~%s",CarName[car-400]);
    TextDrawSetString(AutohausTD3[playerid], string);
    format(string2,sizeof(string2),"Preis: ~b~$ %d",preis);
    TextDrawSetString(AutohausTD4[playerid], string2);


    TextDrawShowForPlayer(playerid,AutohausTD0[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD1[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD2[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD3[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD4[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD5[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD6[playerid]);
    TextDrawShowForPlayer(playerid,AutohausTD7[playerid]);
    TextDrawHideForPlayer(playerid,Textdraw0);
    TextDrawHideForPlayer(playerid,Textdraw1);
    }
    else
    {
    //TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD0[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD1[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD2[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD3[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD4[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD5[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD6[playerid]);
    TextDrawHideForPlayer(playerid,AutohausTD7[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw0);
    TextDrawShowForPlayer(playerid,Textdraw1);
    }
    }
    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");
    }
    }
    }
    if(pickupid == EssenPickup[0] || pickupid == EssenPickup[1] || pickupid == EssenPickup[2])
    {
    GameTextForPlayer(playerid,"~g~/menu",4000,3);
    }
    if(pickupid == KLEIDUNG_PRO)
    {
    if(PlayerToPoint(3.0,playerid,199.0634,-128.0607,1003.5152))
    {
    ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_PRO,DIALOG_STYLE_LIST,"Pro Labs","Orange 12 Preis: 50€\nRockstar Grey Preis: 30€\nBase 5 Preis: 35€","Kaufen","Abbrechen");
    }
    }

    //=========================Fraktion Waffenicons========================//


    if(pickupid == KLEIDUNG_ZIP)
    {
    if(PlayerToPoint(3.0,playerid,181.2543,-91.6659,1002.0234))
    {
    ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_ZIP,DIALOG_STYLE_LIST,"ZIP","Schwarzer Anzug&Rote Krawatte Preis: 100€\nPfarrer Anzug Preis: 300€\nCobaine-Style Preis: 200€\nSchwarzer Anzug Preis: 100€\nBlaue Jacke Preis: 120€\nBlauer Gestreifter Anzug Preis: 180€","Kaufen","Abbrechen");
    }
    }
    return 1;
    }


    Function OnPlayerSelectedMenuRow(playerid, row)
    {
    new Menu:CurrentMenu = GetPlayerMenu(playerid);
    /*if(CurrentMenu == BOMB)
    {
    switch(row)//rot,gelb,grün,blau
    {
    case 0://rot
    {
    GetPlayerPos(playerid, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Bombe wurde gelegt! Du hast den ROTEN Draht genommen!");
    bombe = CreateDynamicObject(1719, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]-0.85, 0.0000, 0.0000, 0.0000);
    ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
    bombexplotimer = SetTimerEx("bombexplode",300000,0,"i",playerid);
    //BombStatus = 1;
    Bombactivated=1;
    bombdrahtchoosen = 1;
    // PlayerInfo[playerid][pSprengstoff] -= 1;
    bombdraht1 = 1;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsACop(i))
    {
    SendClientMessage(i,COLOR_RED,"BOMBENALARM: Es wurde eine Bombe gelegt!");
    bombzone = GangZoneCreate(PlayerExplosionX[1]-random(60), PlayerExplosionY[1]-random(60), PlayerExplosionX[1]+random(60), PlayerExplosionY[1]+random(60));
    GangZoneShowForPlayer(i,bombzone,COLOR_RED);
    GangZoneFlashForPlayer(i,bombzone,COLOR_GREEN);
    if(IsPlayerInFrac(i, 22))
    {
    SendClientMessage(i, COLOR_RED, "ZENTRALE: Es wurde eine Bombe gelegt!");
    SendClientMessage(i, COLOR_RED, "ZENTRALE: Das Gebiet blinkt rot - grün.");
    SendClientMessage(i, COLOR_RED, "ZENTRALE: Begeben sie sich sofort zur Basis!");
    GangZoneShowForPlayer(i,bombzone,COLOR_RED);
    GangZoneFlashForPlayer(i,bombzone,COLOR_GREEN);
    }
    }
    }
    }
    case 1://gelb maul kadoffel
    {
    GetPlayerPos(playerid, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Bombe wurde gelegt! Du hast den GELBEN Draht genommen!");
    bombe = CreateDynamicObject(1719, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]-0.85, 0.0000, 0.0000, 0.0000);
    ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
    bombexplotimer = SetTimerEx("bombexplode",300000,0,"i",playerid);
    //BombStatus = 1;
    Bombactivated=1;
    bombdrahtchoosen = 1;
    //PlayerInfo[playerid][pSprengstoff] -= 1;
    bombdraht1 = 0;
    bombdraht2 = 1;
    bombdraht3 = 0;
    bombdraht4 = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsACop(i))
    {
    SendClientMessage(i,COLOR_RED,"BOMBENALARM: Die Terroristen haben zugeschlagen! Eine Bombe wurde gelegt!");
    bombzone = GangZoneCreate(PlayerExplosionX[1]-random(60), PlayerExplosionY[1]-random(60), PlayerExplosionX[1]+random(60), PlayerExplosionY[1]+random(60));
    GangZoneShowForPlayer(i,bombzone,COLOR_RED);
    GangZoneFlashForPlayer(i,bombzone,COLOR_GREEN);
    }
    }
    }
    case 2://grün
    {
    GetPlayerPos(playerid, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Bombe wurde gelegt! Du hast den GRÜNEN Draht genommen!");
    bombe = CreateDynamicObject(1719, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]-0.85, 0.0000, 0.0000, 0.0000);
    ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
    bombexplotimer = SetTimerEx("bombexplode",300000,0,"i",playerid);
    //BombStatus = 1;
    Bombactivated=1;
    bombdrahtchoosen = 1;
    // PlayerInfo[playerid][pSprengstoff] -= 1;
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 1;
    bombdraht4 = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsACop(i))
    {
    SendClientMessage(i,COLOR_RED,"BOMBENALARM: Es wurde eine Bombe gelegt!");
    bombzone = GangZoneCreate(PlayerExplosionX[1]-random(60), PlayerExplosionY[1]-random(60), PlayerExplosionX[1]+random(60), PlayerExplosionY[1]+random(60));
    GangZoneShowForPlayer(i,bombzone,COLOR_RED);
    GangZoneFlashForPlayer(i,bombzone,COLOR_GREEN);
    }
    }
    }
    case 3://blau
    {
    GetPlayerPos(playerid, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Bombe wurde gelegt! Du hast den BLAUEN Draht genommen!");
    bombe = CreateDynamicObject(1719, PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[1]-0.85, 0.0000, 0.0000, 0.0000);
    ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
    bombexplotimer = SetTimerEx("bombexplode",300000,0,"i",playerid);
    //BombStatus = 1;
    Bombactivated=1;
    bombdrahtchoosen = 1;
    // PlayerInfo[playerid][pSprengstoff] -= 1;
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsACop(i))
    {
    SendClientMessage(i,COLOR_RED,"Anschlag! Es wurde eine Bombe gelegt!!");
    bombzone = GangZoneCreate(PlayerExplosionX[1]-random(60), PlayerExplosionY[1]-random(60), PlayerExplosionX[1]+random(60), PlayerExplosionY[1]+random(60));
    GangZoneShowForPlayer(i,bombzone,COLOR_RED);
    GangZoneFlashForPlayer(i,bombzone,COLOR_GREEN);
    }
    }
    }
    }
    }
    if(CurrentMenu == BOMBD && bombdrahtchoosen == 1)
    {
    switch(row)//rot,gelb,grün,blau
    {
    case 0://rot
    {//&& bombdraht2 = 0 || bombdraht3 = 0 || bombdraht4 && 0
    if(bombdraht1 == 1)
    {
    Bombtimer(3,playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    else if(bombdraht1 == 0)
    {
    bombexplode(playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    bombdrahtchoosen = 0;
    }
    case 1://gelb
    {
    bombdrahtchoosen = 0;
    if(bombdraht2 == 1)
    {
    Bombtimer(3,playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    else if(bombdraht2 == 0)
    {
    bombexplode(playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    }
    case 2://grün
    {
    bombdrahtchoosen = 0;
    if(bombdraht3 == 1)
    {
    Bombtimer(3,playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    else if(bombdraht3 == 0)
    {
    bombexplode(playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    }
    case 3://blau
    {
    bombdrahtchoosen = 0;
    if(bombdraht4 == 1)
    {
    Bombtimer(3,playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    else if(bombdraht4 == 0)
    {
    bombexplode(playerid);
    bombdraht1 = 0;
    bombdraht2 = 0;
    bombdraht3 = 0;
    bombdraht4 = 1;
    }
    }
    }
    }*/

  • So jetzt habs mit pwn gemacht


    Also ich habe die Bomben system usw weg gemacht aber die explosion passiert an 2 bestimmten Pickups


    Am Anfang war es so dass man in diese 2 Pickups rein gelaufen ist und man hat 25$ + 40 Schusss Deagle bekommen das lag an dem DeagleDrop und MoneyDrop


    Das war bei onpickuppickup aber jetzt habe ich es gelöscht und man bekommt keine Deagle und keine 25$ jetzt aber die Explosion ist immer noch da