Beiträge von Coke

    Joar, nix großes^^ war eh nur für nen film erstellt und auf die schnelle gemacht


    new Float:gExplosionCoords[][3] = {
    { -2037.7018, 453.4706, 35.1723 },
    { -2040.6780, 453.2273, 35.1723 },
    { -2044.3813, 453.9005, 35.1723 },
    { -2048.8103, 456.3873, 35.1719 },
    { -2052.0005, 458.6469, 35.1719 },
    { -2054.6860, 462.5378, 35.1719 },
    { -2055.8054, 468.8273, 35.1719 },
    { -2056.3923, 472.6783, 35.1719 }
    };



    OnPlayerText...
    if (strcmp(cmdtext, "/bomben", true) == 0)
    {
    SetTimer("Explosions", 1000, 0);
    return 1;
    }



    Neue Funktion
    forward Explosions(index);
    public Explosions(index)
    {
    if(index == sizeof(gExplosionCoords))
    return 1;


    CreateExplosion(gExplosionCoords[index][0], gExplosionCoords[index][1], gExplosionCoords[index][2], 2, 20.0);
    return SetTimerEx("Explosions", 300, 0, "i", index + 1);


    }


    koordinaten variabel, momentan am cnn-tower in sf