Useful Snippets

Just adding this here so it doesn't get lost.

Automatic house replacement in GTA.

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
I made an edit that adds doors and windows to all house models.
It took a while! So to save other people having to do it, I'll release it here!

I also added some more default models to replace, in total I think there are around 150 houses replaced in each city, instead of 40 in SF/33 in LV/80 in LS.

Thank you again to YJIET for his function to get attached object offsets, I used the code to position the extra objects based on the house rotation.

pawn Код:
#include <a_samp>
#include <sscanf2>

public OnFilterScriptInit()
{
    new
        line[128],
        File:file;
    file = fopen("DATA\\index.ini", io_read);
    if (file)
    {
        new
            File:LS,
            File:SF,
            File:LV;
        LS = fopen("LS.txt", io_write);
        SF = fopen("SF.txt", io_write);
        LV = fopen("LV.txt", io_write);
        while (fread(file, line))
        {
            new
                File:ipl;
            strdel(line, strlen(line) - 2, strlen(line));
            ipl = fopen(line, io_read);
            if (ipl)
            {
                new
                    model,
                    Float:px,
                    Float:py,
                    Float:pz,
                    Float:rx,
                    Float:ry,
                    Float:rz,
                    Float:qx,
                    Float:qy,
                    Float:qz,
                    Float:qw;
                while (fread(ipl, line))
                {
                    if (sscanf(line, "p<,>i{s[32]i}fffffff{i}", model, px, py, pz, qx, qy, qz, qw))
                    {
                        continue;
                    }
                    model = GetSAMP03EModel(model);
                    if (model)
                    {
                        // Los Santos
                        if (19505 <= model <= 19511)
                        {
                            QuatToEulerZXY(qx, qy, qz, qw, rx, ry, rz);
                            AddObject(model, px, py, pz, rx, ry, rz, LS);
                            continue;
                        }
                        // San Fierro
                        if (19489 <= model <= 19495)
                        {
                            QuatToEulerZXY(qx, qy, qz, qw, rx, ry, rz);
                            AddObject(model, px, py, pz, rx, ry, rz, SF);
                            continue;
                        }
                        // Las Venturas
                        if (19497 <= model <= 19503)
                        {
                            QuatToEulerZXY(qx, qy, qz, qw, rx, ry, rz);
                            AddObject(model, px, py, pz, rx, ry, rz, LV);
                            continue;
                        }
                    }
                }
                fclose(ipl);
            }
        }
        fclose(file);
        fclose(LS);
        fclose(LV);
        fclose(SF);
    }
}

new gDoors[5]=
{
    1491,
    1492,
    1494,
    1499,
    1502
};

AddObject(model, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, File:handle)
{
    new
        str[256];

    format(str, 256, "CreateObject(%d, %f, %f, %f, %f, %f, %f);\r\nCreateObject(%d, %f, %f, %f, %f, %f, %f);\r\n", model, x, y, z, rx, ry, rz, model + 1, x, y, z, rx, ry, rz);
    fwrite(handle, str);
   
   
    // LOS SANTOS
    if(model == 19509)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -1.00, 3.36, -2.13, 0.00, 0.00, 0.0, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -0.24, -5.79, -2.81, 0.00, 0.00, 0.0, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 2.56, 3.35, -0.47, 0.00, 0.00, 90.0, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -2.71, 3.34, -0.47, 0.00, 0.00, 90.0, handle);
    }
    if(model == 19507)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -5.03, 0.41, -2.55,   0.00, 0.00, 90.00, handle); // doors
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 6.36, 2.53, -2.54,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -3.92, 6.52, -1.03,   0.00, 0.00, 90.00, handle); // windows
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -0.79, 6.52, -1.03,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 1.99, 6.52, -1.03,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 4.99, 6.52, -1.03,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.41, -1.89, -0.92,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.41, -3.89, -0.92,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -2.80, -5.95, -0.99,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.08, 3.59, -0.91,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.08, -3.92, -0.91,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19505)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 7.71, -4.28, -2.14,   0.00, 0.00, 90.00, handle); // doors
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -6.04, -0.31, -2.14,   0.00, 0.00, 270.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.76, 3.93, -0.52,   0.00, 0.00, 0.00, handle); // windows
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.76, 1.70, -0.52,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.14, 2.20, -0.72,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.14, 4.44, -0.72,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -3.33, 5.68, -0.50,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.57, -6.23, -0.46,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -0.95, -6.23, -0.46,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 2.72, -6.23, -0.46,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.91, -6.23, -0.46,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.14, -3.44, -0.44,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19511)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -1.12, -5.35, -2.05,   0.00, 0.00, 90.00, handle); // doors
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 2.65, 5.93, -1.96,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 1.27, 5.96, -0.26,   0.00, 0.00, 90.00, handle); // windows
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -2.13, 5.96, -0.26,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.16, 3.32, -0.40,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.16, -1.80, -0.40,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.16, 0.65, -0.40,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 1.19, -3.36, -0.57,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -3.03, -5.92, -0.55,   0.00, 0.00, 90.00, handle);
    }
   
    // SAN FIERRO
    if(model == 19491)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -3.19, 1.96, -4.94,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 6.14, -2.76, -4.78,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 0.34, -3.40, -2.13,   0.00, 0.00, 270.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.05, -1.76, -3.28,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.05, 0.47, -3.28,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.47, 3.83, -3.05,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.45, 1.60, -3.05,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.40, 0.33, -3.05,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.44, 1.56, -0.54,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.44, 3.74, -0.54,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.44, -1.26, -0.54,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.06, 1.07, -0.42,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.06, -1.16, -0.42,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.06, 3.31, -0.42,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19489)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -6.66, 1.01, -0.42,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 1.36, -4.99, -0.48,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.13, -1.89, 1.17,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.65, 3.72, 0.46,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.65, 2.34, 0.46,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.66, 2.39, 1.50,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.65, 3.84, 1.50,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.66, 2.09, 1.12,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.66, 3.69, 1.12,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.10, -0.10, 1.04,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.12, -2.28, 1.04,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.72, -1.81, -1.61,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.70, 0.30, -1.61,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.68, 3.75, -1.61,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.69, 1.52, -1.61,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19495)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 5.68, -4.41, -4.33,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 3.30, -0.23, -4.66,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -1.95, -3.92, -4.50,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, 3.41, -2.82,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, 1.17, -2.82,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, -1.56, -2.84,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, 3.34, -0.07,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, 1.10, -0.07,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 6.00, -3.05, -0.02,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.00, -0.48, 0.23,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.00, -2.72, 0.23,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.84, 3.00, -0.83,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.85, 3.00, 0.46,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19493)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -3.05, -3.72, -4.34,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 5.34, -3.52, -4.67,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.70, -0.60, -2.89,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.68, 1.07, -3.25,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.68, 3.23, -3.15,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.62, -0.58, -2.96,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.70, -2.29, -0.27,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.67, 2.95, -0.27,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 5.67, 0.71, -0.27,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.19, -1.93, -0.19,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.15, 3.03, -0.29,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -5.15, 0.80, -0.29,   0.00, 0.00, 0.00, handle);
    }
   
    // LAS VENTURAS
    if(model == 19497)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -1.62, -0.99, -1.73,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 5.56, -5.33, -1.70,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 9.45, -8.08, -1.66,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.46, 4.24, 0.30,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -4.46, 8.49, 0.30,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 9.60, 8.99, 0.46,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 9.60, 0.32, -0.01,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -1.75, -3.93, 0.01,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19501)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -6.91, -3.63, -3.10,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(1494, x, y, z, rx, ry, rz, -5.88, 8.85, -2.96,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(1494, x, y, z, rx, ry, rz, -2.88, 8.85, -2.96,   0.00, 0.00, 180.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -7.30, 0.90, -1.40,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -7.30, -1.34, -1.52,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -7.30, 3.22, -1.38,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -7.30, 5.46, -1.38,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.07, -2.27, -1.32,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.07, -0.03, -1.32,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.07, -4.51, -1.32,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.07, 5.00, -1.41,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.07, 2.76, -1.41,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19499)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -5.65, -2.95, -3.36,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(1494, x, y, z, rx, ry, rz, 2.42, 6.30, -3.39,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(1494, x, y, z, rx, ry, rz, 5.44, 6.30, -3.39,   0.00, 0.00, 180.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.07, -1.00, -1.78,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.07, 1.24, -1.78,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -6.07, 3.48, -1.78,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.03, 1.92, -1.73,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.03, 4.16, -1.73,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.04, -4.87, -1.73,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.04, -2.64, -1.73,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, 7.04, -7.11, -1.73,   0.00, 0.00, 0.00, handle);
    }
    if(model == 19503)
    {
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, -1.26, -1.87, -2.22,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(gDoors[random(sizeof(gDoors))], x, y, z, rx, ry, rz, 3.82, -1.78, -2.15,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19363, x, y, z, rx, ry, rz, 1.85, -1.88, -1.50,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19325, x, y, z, rx, ry, rz, -7.78, -9.10, -1.52,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19466, x, y, z, rx, ry, rz, -12.07, -9.10, -0.85,   90.00, 0.00, 90.00, handle);
        SaveOffsetObj(19325, x, y, z, rx, ry, rz, -12.94, -5.09, -1.37,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19325, x, y, z, rx, ry, rz, -12.94, 0.36, -1.29,   0.00, 0.00, 0.00, handle);
        SaveOffsetObj(19325, x, y, z, rx, ry, rz, -8.32, 8.00, -0.96,   0.00, 0.00, 90.00, handle);
        SaveOffsetObj(19325, x, y, z, rx, ry, rz, 0.81, 8.00, -1.73,   0.00, 0.00, 90.00, handle);
    }
}

SaveOffsetObj(
    model, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz,
    Float:object_px, Float:object_py, Float:object_pz, Float:object_rx, Float:object_ry, Float:object_rz,
    File:handle)
{
    new
        str[256],
        Float:new_x,
        Float:new_y,
        Float:new_z;

    GetAttachedObjectPos(
        x, y, z, rx, ry, rz,
        object_px, object_py, object_pz,
        new_x, new_y, new_z);


    format(str, 256, "CreateObject(%d, %f, %f, %f, %f, %f, %f);\r\n",
        model, new_x, new_y, new_z, object_rx+rx, object_ry+ry, object_rz+rz);

    fwrite(handle, str);


}
stock GetAttachedObjectPos(
    Float:object_px, Float:object_py, Float:object_pz, Float:object_rx, Float:object_ry, Float:object_rz,
    Float:offset_x, Float:offset_y, Float:offset_z,
    &Float:x, &Float:y, &Float:z)
{
    new
        Float:cos_x = floatcos(object_rx, degrees),
        Float:cos_y = floatcos(object_ry, degrees),
        Float:cos_z = floatcos(object_rz, degrees),
        Float:sin_x = floatsin(object_rx, degrees),
        Float:sin_y = floatsin(object_ry, degrees),
        Float:sin_z = floatsin(object_rz, degrees);

    x = object_px + offset_x * cos_y * cos_z - offset_x * sin_x * sin_y * sin_z - offset_y * cos_x * sin_z + offset_z * sin_y * cos_z + offset_z * sin_x * cos_y * sin_z;
    y = object_py + offset_x * cos_y * sin_z + offset_x * sin_x * sin_y * cos_z + offset_y * cos_x * cos_z + offset_z * sin_y * sin_z - offset_z * sin_x * cos_y * cos_z;
    z = object_pz - offset_x * cos_x * sin_y + offset_y * sin_x + offset_z * cos_x * cos_y;
}

QuatToEulerZXY(Float:quat_x, Float:quat_y, Float:quat_z, Float:quat_w, &Float:x, &Float:y, &Float:z)
{
    x = -asin(2 * ((quat_x * quat_z) + (quat_w * quat_y)));
    y = atan2(2 * ((quat_y * quat_z) + (quat_w * quat_x)), (quat_w * quat_w) - (quat_x * quat_x) - (quat_y * quat_y) + (quat_z * quat_z));
    z = -atan2(2 * ((quat_x * quat_y) + (quat_w * quat_z)), (quat_w * quat_w) + (quat_x * quat_x) - (quat_y * quat_y) - (quat_z * quat_z));
    return 1;
}

GetSAMP03EModel(model)
{
    // Los Santos
    if (model == 3592 || model == 3563 || model == 5664 || model == 3591) return 19509;
    if (model == 3647) return 19507;
    if (model == 3706 || model == 3654 || model == 5672) return 19505;
    if (model == 3720) return 19511;
    // San Fierro
    if (model == 3832 || model == 3840) return 19491;
    if (model == 3835 || model == 3833) return 19489;
    if (model == 3838 || model == 3848) return 19495;
    if (model == 3841 || model == 3836) return 19493;
    // Las Venturas
    if (model == 3536) return 19497;
    if (model == 3546) return 19501;
    if (model == 3547) return 19499;
    if (model == 3548) return 19503;
    return 0;
}
Reply


Messages In This Thread
Useful Snippets - by Pixels^ - 27.01.2007, 22:33
Re: Useful Snippets - by Pixels^ - 27.01.2007, 23:32
Re: Useful Snippets - by Sacky - 28.01.2007, 09:49
Re: Useful Snippets - by Sacky - 28.01.2007, 13:18
Re: Useful Snippets - by -Sneaky- - 28.01.2007, 17:38
Re: Useful Snippets - by Pixels^ - 28.01.2007, 17:43
Re: Useful Snippets - by yom - 28.01.2007, 18:01
Re: Useful Snippets - by Pixels^ - 28.01.2007, 18:03
Re: Useful Snippets - by -Sneaky- - 28.01.2007, 19:05
Re: Useful Snippets - by Pixels^ - 28.01.2007, 19:13
Re: Useful Snippets - by [xA]Ramjet - 29.01.2007, 01:02
Re: Useful Snippets - by [QB]Flame^ - 30.01.2007, 13:20
Re: Useful Snippets - by boylett - 30.01.2007, 15:00
Re: Useful Snippets - by [QB]Flame^ - 30.01.2007, 17:23
Re: Useful Snippets - by boylett - 30.01.2007, 18:14
Re: Useful Snippets - by Nitroglycerine - 30.01.2007, 18:18
Re: Useful Snippets - by Pixels^ - 30.01.2007, 23:07
Re: Useful Snippets - by Pixels^ - 31.01.2007, 23:00
Re: Useful Snippets - by Nitroglycerine - 31.01.2007, 23:14
Re: Useful Snippets - by Sacky - 02.02.2007, 05:02
Re: Useful Snippets - by Sacky - 02.02.2007, 11:52
Re: Useful Snippets - by Sacky - 03.02.2007, 04:43
Re: Useful Snippets - by Sacky - 05.02.2007, 07:45
Re: Useful Snippets - by Sacky - 07.02.2007, 09:18
Re: Useful Snippets - by yom - 07.02.2007, 09:43
Re: Useful Snippets - by Pixels^ - 11.02.2007, 20:49
Re: Useful Snippets - by Sacky - 12.02.2007, 02:43
Re: Useful Snippets - by boylett - 12.02.2007, 15:30
Re: Useful Snippets - by boylett - 12.02.2007, 16:37
Re: Useful Snippets - by Sacky - 16.02.2007, 04:57
Re: Useful Snippets - by yom - 20.02.2007, 16:31
Re: Useful Snippets - by Sacky - 06.03.2007, 10:47
Re: Useful Snippets - by Pixels^ - 25.03.2007, 19:49
Re: Useful Snippets - by Nitroglycerine - 25.03.2007, 22:26
Re: Useful Snippets - by Pixels^ - 26.03.2007, 00:55
Re: Useful Snippets - by yom - 09.04.2007, 03:03
Re: Useful Snippets - by boylett - 09.04.2007, 07:41
Re: Useful Snippets - by boylett - 09.04.2007, 11:20
Re: Useful Snippets - by boylett - 11.04.2007, 13:57
Re: Useful Snippets - by -Sneaky- - 11.04.2007, 19:44
Re: Useful Snippets - by Sacky - 13.04.2007, 08:31
Re: Useful Snippets - by Maxx - 15.04.2007, 12:29
Re: Useful Snippets - by yom - 15.04.2007, 12:51
Re: Useful Snippets - by Sacky - 15.04.2007, 12:57
Re: Useful Snippets - by Pixels^ - 18.04.2007, 01:12
Re: Useful Snippets - by [xA]Ramjet - 07.05.2007, 10:37
Re: Useful Snippets - by Pixels^ - 07.05.2007, 23:47
Re: Useful Snippets - by Allan - 08.05.2007, 00:53
Re: Useful Snippets - by Redirect Left - 08.05.2007, 01:03
Re: Useful Snippets - by [xA]Ramjet - 08.05.2007, 06:13
Re: Useful Snippets - by Simon - 08.05.2007, 06:58
Re: Useful Snippets - 2 loops in 1 - by boylett - 10.05.2007, 21:44
Re: Useful Snippets - by boylett - 11.05.2007, 06:11
Re: Useful Snippets - by Sacky - 18.05.2007, 06:26
Re: Useful Snippets - by Simon - 18.05.2007, 07:09
Re: Useful Snippets - by Sacky - 18.05.2007, 07:33
Re: Useful Snippets - by Simon - 18.05.2007, 07:50
Re: Useful Snippets - by Sacky - 18.05.2007, 08:07
Re: Useful Snippets - by Donny_k - 19.05.2007, 19:37
Re: Useful Snippets - by boylett - 19.05.2007, 20:42
Drug Commands for Health - by DHKsyko - 03.06.2007, 05:59
Re: Useful Snippets - by Simon - 03.06.2007, 17:26
Smoother /stopanim - by BlooDsTainD - 04.07.2007, 13:40
Re: Useful Snippets - by munich123 - 12.07.2007, 00:22
Re: Useful Snippets - by ConTron - 15.07.2007, 12:47
Re: Useful Snippets - by Alejandro - 01.08.2007, 18:06
Re: Useful Snippets - by [xA]Ramjet - 02.08.2007, 07:20
Re: Useful Snippets - by tomozj - 05.08.2007, 16:19
Anti-DriveBy - by Malice - 06.08.2007, 06:06
Re: Anti-DriveBy - by Joske_Vermeulen - 07.08.2007, 16:11
Re: Useful Snippets - by boylett - 18.08.2007, 13:57
Re: Useful Snippets - by vkmaster - 26.08.2007, 08:27
Re: Smoother /stopanim - by Salvatore_Salieri - 29.08.2007, 12:37
Re: Smoother /stopanim - by Towlies - 30.08.2007, 03:57
Re: Useful Snippets - by boylett - 30.08.2007, 17:04
Re: Useful Snippets - by vkmaster - 11.09.2007, 10:49
Re: Useful Commands - by sparker_rus - 02.10.2007, 16:05
Re: Useful Snippets - by yom - 05.10.2007, 18:20
Re: Useful Snippets - by snipe69 - 18.12.2007, 02:02
Re: Useful Snippets - by Pixels^ - 18.12.2007, 02:05
Re: Useful Snippets - by Sandra18[NL] - 18.12.2007, 02:14
Re: Useful Snippets - by Sandra18[NL] - 18.12.2007, 02:21
Re: Useful Snippets - by Grove - 18.12.2007, 19:22
Re: Useful Snippets - by Pixels^ - 18.12.2007, 20:37
Re: Useful Snippets - by boylett - 19.12.2007, 07:06
Re: Useful Snippets - by Grove - 19.12.2007, 10:57
Re: Useful Snippets - by Curynga - 13.01.2008, 04:30
Re: Useful Snippets - by Curynga - 13.01.2008, 04:49
Re: Useful Snippets - by Curynga - 13.01.2008, 07:57
Re: Useful Snippets - by R@f - 18.01.2008, 14:40
Re: Useful Snippets - by Rafelder_GRF - 22.01.2008, 15:57
Re: Useful Snippets - by FujiNNN - 15.02.2008, 21:21
Re: Useful Snippets - by [HiC]TheKiller - 01.06.2008, 20:54
Re: Useful Snippets - by boemeles - 11.06.2008, 16:47
Re: Useful Snippets - by djnitro - 25.07.2008, 08:30
Re: Useful Snippets - by [D1zZy_vortex] - 25.07.2008, 15:21
Re: Useful Snippets - by Serediucr - 08.09.2008, 10:31
Re: Useful Snippets - by JaTochNietDan - 06.10.2008, 12:57
Re: Useful Snippets - by [ERP]Snow - 07.10.2008, 01:33
Re: Useful Snippets - by Sandra18[NL] - 07.10.2008, 21:11
Re: Useful Snippets - by juio1234 - 25.10.2008, 19:22
Re: Useful Snippets - by Kowalski - 27.10.2008, 12:41
Re: Useful Snippets - by Grove - 02.11.2008, 13:36
Re: Useful Snippets - by Sandra18[NL] - 02.12.2008, 21:59
Re: Useful Snippets - by Pixels^ - 02.12.2008, 22:05
Re: Useful Snippets - by matt2127 - 02.12.2008, 22:53
Re: Useful Snippets - by matt2127 - 02.12.2008, 23:37
Re: Useful Snippets - by matt2127 - 02.12.2008, 23:43
Re: Useful Snippets - by JaTochNietDan - 03.12.2008, 14:39
Re: Useful Snippets - by PlayboyX - 13.12.2008, 21:08
Re: Useful Snippets - by ғαιιοцт - 07.01.2009, 13:34
Re: Useful Snippets - by NeptoZ - 13.01.2009, 01:25
Re: Useful Snippets - by ғαιιοцт - 03.03.2009, 14:50
Re: Useful Snippets - by Nubotron - 03.03.2009, 21:14
Re: Useful Snippets - by NigNog1 - 04.03.2009, 01:40
Re: Useful Snippets - by ғαιιοцт - 04.03.2009, 10:37
Re: Useful Snippets - by NigNog1 - 04.03.2009, 13:35
Re: Useful Snippets - by Wutschkooo - 04.03.2009, 14:48
Re: Useful Snippets - by MenaceX^ - 04.03.2009, 17:57
Re: Useful Snippets - by NigNog1 - 04.03.2009, 18:50
Re: Useful Snippets - by ғαιιοцт - 05.03.2009, 17:16
Re: Useful Snippets - by MenaceX^ - 05.03.2009, 17:51
Re: Useful Snippets - by Nubotron - 05.03.2009, 17:55
Re: Useful Snippets - by ғαιιοцт - 05.03.2009, 18:05
******* - by Zoopaman - 11.03.2009, 01:21
Re: Useful Snippets - by ICECOLDKILLAK8 - 11.03.2009, 01:41
Re: Useful Snippets - by MenaceX^ - 11.03.2009, 15:04
Re: Useful Snippets - by FrazZ - 12.03.2009, 03:53
Re: Useful Snippets - by LarzI - 12.03.2009, 15:17
Re: Useful Snippets - by MenaceX^ - 12.03.2009, 15:24
Re: Useful Snippets - by Zoopaman - 13.03.2009, 02:52
Re: Useful Snippets - by FrazZ - 13.03.2009, 12:09
Re: Useful Snippets - by Pyrokid - 13.03.2009, 12:38
Re: Useful Snippets - by Zoopaman - 13.03.2009, 22:03
Re: Useful Snippets - by Selluliitti_mies - 22.03.2009, 12:38
Re: Useful Snippets - by Danut - 23.03.2009, 17:24
Re: Useful Snippets - by Rks25 - 24.03.2009, 18:34
Re: Useful Snippets - by luby - 26.03.2009, 15:25
Re: Useful Snippets - by MenaceX^ - 26.03.2009, 15:31
Re: Useful Snippets - by luby - 26.03.2009, 15:34
Re: Useful Snippets - by MenaceX^ - 07.04.2009, 00:33
Re: Useful Snippets - by FrazZ - 07.04.2009, 12:42
Re: Useful Snippets - by Nero_3D - 07.04.2009, 13:11
Re: Useful Snippets - by Weirdosport - 25.04.2009, 16:24
Re: Useful Snippets - by pen_theGun - 25.04.2009, 23:35
Re: Useful Snippets - by CJ101 - 04.05.2009, 04:30
Re: Useful Snippets - by Donny_k - 05.05.2009, 22:35
Re: Useful Snippets - by yom - 05.05.2009, 22:44
Re: Useful Snippets - by Donny_k - 05.05.2009, 23:41
Re: Useful Snippets - by MenaceX^ - 08.05.2009, 09:07
Re: Useful Snippets - by im2fast4u - 12.09.2009, 19:14
Re: Useful Snippets - by Calgon - 16.09.2009, 22:50
Re: Useful Snippets - by Mikep. - 16.09.2009, 23:16
Re: Useful Snippets - by Calgon - 16.09.2009, 23:45
Re: Useful Snippets - by Calgon - 16.09.2009, 23:52
Re: Useful Snippets - by Google63 - 25.09.2009, 05:27
Re: Useful Snippets - by MenaceX^ - 25.09.2009, 11:54
Re: Useful Snippets - by ruarai - 28.09.2009, 09:44
Re: Useful Snippets - by dice7 - 28.09.2009, 14:33
Re: Useful Snippets - by MenaceX^ - 03.10.2009, 23:25
Re: Useful Snippets - by FreshKilla - 21.10.2009, 21:22
Re: Useful Snippets - by Nero_3D - 23.10.2009, 15:34
Re: Useful Snippets - by Google63 - 25.10.2009, 17:18
Re: Useful Snippets - by smeti - 12.11.2009, 21:20
Re: Useful Snippets - by FreshKilla - 21.11.2009, 22:33
Re: Useful Snippets - by radi - 23.11.2009, 18:15
Re: Useful Snippets - by Correlli - 23.11.2009, 18:29
Re: Useful Snippets - by gtaturke54 - 26.11.2009, 11:47
Re: Useful Snippets - by heufix - 26.11.2009, 20:08
Re: Useful Snippets - by Correlli - 26.11.2009, 20:09
Get the absolute value - by kymsar - 28.11.2009, 05:31
Re: Useful Snippets - by kymsar - 28.11.2009, 05:42
Re: Useful Snippets - by Nero_3D - 28.11.2009, 12:11
Re: Useful Snippets - by RoamPT - 17.12.2009, 19:34
Re: Useful Snippets - by Nero_3D - 17.12.2009, 20:19
Re: Useful Snippets - by yom - 18.12.2009, 00:38
Re: Useful Snippets - by [KMA]Lord_Deji - 18.12.2009, 17:32
Re: Useful Snippets - by ded - 18.12.2009, 19:07
Re: Useful Snippets - by [KMA]Lord_Deji - 18.12.2009, 20:53
[PATCH?] Hide player blips on entering interiors - by Kyeno - 20.12.2009, 16:56
Re: Useful Snippets - by Streetplaya - 22.12.2009, 19:46
Re: Useful Snippets - by LarzI - 22.12.2009, 19:55
Re: Useful Snippets - by yezizhu - 23.12.2009, 06:01
Re: Useful Snippets - by Streetplaya - 23.12.2009, 08:47
Re: Useful Snippets - by Streetplaya - 23.12.2009, 08:48
Re: Useful Snippets - by yezizhu - 23.12.2009, 10:02
Re: Useful Snippets - by yezizhu - 23.12.2009, 10:02
Re: Useful Snippets - by Streetplaya - 23.12.2009, 10:06
Re: Useful Snippets - by yezizhu - 23.12.2009, 11:11
Re: Useful Snippets - by mascii - 23.12.2009, 11:34
Re: Useful Snippets - by LarzI - 23.12.2009, 12:20
Re: Useful Snippets - by ded - 23.12.2009, 23:57
Re: Useful Snippets - by Nero_3D - 24.12.2009, 00:04
Re: Useful Snippets - by ded - 24.12.2009, 01:04
Re: Useful Snippets - by Nero_3D - 24.12.2009, 02:37
Re: Useful Snippets - by ded - 24.12.2009, 03:18
Re: Useful Snippets - by dice7 - 24.12.2009, 10:54
Re: Useful Snippets - by LarzI - 24.12.2009, 11:45
Re: Useful Snippets - by Correlli - 24.12.2009, 11:48
Re: Useful Snippets - by Google63 - 24.12.2009, 12:02
Re: Useful Snippets - by LarzI - 24.12.2009, 12:20
Re: Useful Snippets - by Nero_3D - 24.12.2009, 14:48
Re: Useful Snippets - by Google63 - 24.12.2009, 16:00
Re: Useful Snippets - by MatthewGarrowo - 24.01.2010, 23:52
Re: Useful Snippets - by StrickenKid - 24.01.2010, 23:57
Re: Useful Snippets - by [HiC]TheKiller - 01.02.2010, 06:50
Re: Useful Snippets - by Finn - 02.02.2010, 04:46
Re: Useful Snippets - by Nero_3D - 02.02.2010, 16:59
Re: Useful Snippets - by [HiC]TheKiller - 02.02.2010, 17:24
Re: Useful Snippets - by MaXSpeeD - 04.02.2010, 22:29
Re: Useful Snippets - by Calgon - 04.02.2010, 23:36
Re: Useful Snippets - by »»»Hakam - 06.02.2010, 12:15
Re: Useful Snippets - by Calgon - 06.02.2010, 12:48
Re: Useful Snippets - by MatthewGarrowo - 06.02.2010, 13:53
Re: Useful Snippets - by pyrodave - 06.02.2010, 21:40
Re: Useful Snippets - by BlackFoX - 06.02.2010, 21:56
Re: Useful Snippets - by PowerSurge - 09.02.2010, 16:30
Re: Useful Snippets - by Miguel - 18.02.2010, 17:53
Re: Useful Snippets - by HydraX - 28.02.2010, 00:13
Re: Useful Snippets - by Lilcuete - 20.03.2010, 13:54
Re: Useful Snippets - by MaykoX - 20.03.2010, 20:38
Re: Useful Snippets - by Souvlaki - 21.03.2010, 14:05
Re: Useful Snippets - by Backwardsman97 - 01.06.2010, 05:28
Re: Useful Snippets - by Nero_3D - 01.06.2010, 14:47
Re: Useful Snippets - by Calgon - 01.06.2010, 15:09
Re: Useful Snippets - by Nero_3D - 01.06.2010, 15:13
Re: Useful Snippets - by dice7 - 01.06.2010, 16:30
Re: Useful Snippets - by Hiddos - 08.06.2010, 18:46
Re: Useful Snippets - by Carlton - 09.06.2010, 01:05
Re: Useful Snippets - by ev0lution - 20.06.2010, 04:26
Re: Useful Snippets - by Simon - 20.06.2010, 04:36
Re: Useful Snippets - by ev0lution - 20.06.2010, 05:58
Re: Useful Snippets - by Antonio [G-RP] - 20.06.2010, 06:02
Re: Useful Snippets - by Simon - 20.06.2010, 06:09
Re: Useful Snippets - by ev0lution - 20.06.2010, 06:28
Re: Useful Snippets - by WThieves - 20.07.2010, 10:24
Re: Useful Snippets - by Floul1 - 04.08.2010, 19:51
Re: Useful Snippets - by Johnny_Xayc - 04.08.2010, 20:02
Re: Useful Snippets - by Nero_3D - 04.08.2010, 20:09
Re: Useful Snippets - by Ash. - 09.08.2010, 09:25
Re: Useful Snippets - by Nero_3D - 09.08.2010, 13:00
Re: Useful Snippets - by zeli - 12.08.2010, 22:41
Re: Useful Snippets - by hencz - 13.08.2010, 14:59
Re: Useful Snippets - by Ash. - 13.08.2010, 16:31
Re: Useful Snippets - by peugeot - 13.08.2010, 19:38
Re: Useful Snippets - by ipsBruno - 14.08.2010, 15:11
Re: Useful Snippets - by Toribio - 14.08.2010, 17:36
Re: Useful Snippets - by ipsBruno - 14.08.2010, 17:55
Re: Useful Snippets - by Toribio - 14.08.2010, 18:08
Re: Useful Snippets - by Toribio - 14.08.2010, 19:08
Re: Useful Snippets - by [03]Garsino - 14.08.2010, 19:18
Re: Useful Snippets - by hencz - 14.08.2010, 20:44
Re: Useful Snippets - by Luka P. - 25.09.2010, 23:04
Re: Useful Snippets - by wups - 26.09.2010, 08:44
Re: Useful Snippets - by Rzzr - 26.09.2010, 20:22
Re: Useful Snippets - by wups - 27.09.2010, 11:41
Re: Useful Snippets - by Rzzr - 27.09.2010, 11:59
Re: Useful Snippets - by smeti - 27.09.2010, 16:38
Re: Useful Snippets - by Tee - 27.10.2010, 01:59
Re: Useful Snippets - by Miguel - 27.10.2010, 02:20
AW: Useful Snippets - by PSPgamer_10 - 27.10.2010, 09:19
Re: Useful Snippets - by Luka P. - 09.11.2010, 19:41
Re: Useful Snippets - by CyNiC - 22.11.2010, 15:28
Re: Useful Snippets - by Finn - 22.11.2010, 15:48
Re: Useful Snippets - by TheHoodRat - 25.11.2010, 20:27
Re: Useful Snippets - by wups - 25.11.2010, 20:38
Re: Useful Snippets - by TheHoodRat - 25.11.2010, 20:41
Re: Useful Snippets - by GaGlets(R) - 25.11.2010, 20:56
Re: Useful Snippets - by TheHoodRat - 25.11.2010, 21:11
Re: Useful Snippets - by The_Moddler - 25.11.2010, 22:14
Re: Useful Snippets - by TheHoodRat - 25.11.2010, 22:36
Re: Useful Snippets - by Grim_ - 25.11.2010, 22:37
Re: Useful Snippets - by TheHoodRat - 25.11.2010, 22:38
Re: Useful Snippets - by Slice - 28.11.2010, 19:27
Re: Useful Snippets - by [03]Garsino - 09.02.2011, 05:14
Re: Useful Snippets - by Luka P. - 12.02.2011, 15:01
Re: Useful Snippets - by RyDeR` - 12.02.2011, 15:05
Re: Useful Snippets - by RyDeR` - 17.02.2011, 18:44
Re: Useful Snippets - by smeti - 17.02.2011, 20:43
Re: Useful Snippets - by RyDeR` - 17.02.2011, 20:46
Re: Useful Snippets - by Luka P. - 23.02.2011, 14:50
Re: Useful Snippets - by Slice - 23.02.2011, 16:53
Re: Useful Snippets - by Luka P. - 23.02.2011, 17:04
Re: Useful Snippets - by Zh3r0 - 23.02.2011, 17:05
Re: Useful Snippets - by sciman001 - 12.03.2011, 16:17
Re: Useful Snippets - by Mmartin - 23.03.2011, 05:50
Re: Useful Snippets - by KoczkaHUN - 16.10.2011, 17:04
Re: Useful Snippets - by KoczkaHUN - 16.10.2011, 17:22
Re: Useful Snippets - by AndreT - 16.10.2011, 17:25
Re: Useful Snippets - by Lorenc_ - 16.10.2011, 21:02
Re: Useful Snippets - by Lorenc_ - 17.10.2011, 05:44
Re: Useful Snippets - by KoczkaHUN - 20.10.2011, 18:33
Re: Useful Snippets - by jonrb - 01.11.2011, 12:49
Re: Useful Snippets - by wups - 01.11.2011, 15:10
Re: Useful Snippets - by sciman001 - 01.11.2011, 23:01
Re: Useful Snippets - by sciman001 - 01.11.2011, 23:03
Re: Useful Snippets - by KoczkaHUN - 01.11.2011, 23:35
Re: Useful Snippets - by sciman001 - 02.11.2011, 00:03
Re: Useful Snippets - by wups - 02.11.2011, 07:38
Re: Useful Snippets - by FireCat - 02.11.2011, 14:12
Re: Useful Snippets - by FireCat - 02.11.2011, 16:06
Re: Useful Snippets - by CyNiC - 05.11.2011, 16:19
Re: Useful Snippets - by KoczkaHUN - 06.11.2011, 17:09
Re: Useful Snippets - by Slice - 06.11.2011, 18:33
Re: Useful Snippets - by KoczkaHUN - 06.11.2011, 18:55
Re: Useful Snippets - by Slice - 06.11.2011, 19:50
Re: Useful Snippets - by KoczkaHUN - 07.11.2011, 15:40
Re: Useful Snippets - by InferNus` - 05.01.2012, 20:33
Re: Useful Snippets - by Lorenc_ - 01.03.2012, 21:18
Re: Useful Snippets - by Jack_SMalls - 03.03.2012, 05:03
Re: Useful Snippets - by RobinOwnz - 03.03.2012, 09:04
Re: Useful Snippets - by Luka P. - 03.03.2012, 13:37
Re: Useful Snippets - by DarkScripter - 16.03.2012, 03:20
Re: Useful Snippets - by rbN. - 16.03.2012, 06:17
Re: Useful Snippets - by Jonny5 - 18.03.2012, 02:19
Re: Useful Snippets - by 2KY - 19.03.2012, 22:04
Re: Useful Snippets - by stormchaser206 - 25.03.2012, 14:55
Re: Useful Snippets - by STMatt - 27.03.2012, 21:25
Re: Useful Snippets - by stormchaser206 - 30.03.2012, 20:36
Re: Useful Snippets - by justsomeguy - 31.03.2012, 10:51
Re: Useful Snippets - by steki. - 31.03.2012, 11:20
Re: Useful Snippets - by STMatt - 31.03.2012, 13:11
Re: Useful Snippets - by zSuYaNw - 30.04.2012, 18:26
Re: Useful Snippets - by Hanger - 30.04.2012, 19:01
Re: Useful Snippets - by Slice - 30.04.2012, 19:15
Re: Useful Snippets - by RyDeR` - 30.04.2012, 19:16
Re: Useful Snippets - by Patchwerk - 30.04.2012, 21:52
Re: Useful Snippets - by [HLF]Southclaw - 30.04.2012, 22:10
Respuesta: Re: Useful Snippets - by ipsBruno - 01.05.2012, 02:10
Re: Useful Snippets - by Y_Less - 01.05.2012, 07:23
Respuesta: Useful Snippets - by ipsBruno - 01.05.2012, 17:00
Re: Useful Snippets - by CyNiC - 02.05.2012, 01:24
Re: Respuesta: Useful Snippets - by Y_Less - 02.05.2012, 09:15
Respuesta: Re: Respuesta: Useful Snippets - by ipsBruno - 02.05.2012, 21:41
Re: Useful Snippets - by Y_Less - 02.05.2012, 21:48
Re: Useful Snippets - by aco_SRBIJA - 03.05.2012, 06:25
Re: Useful Snippets - by [HLF]Southclaw - 03.05.2012, 11:16
AW: Useful Snippets - by Nero_3D - 05.05.2012, 14:54
Re: AW: Useful Snippets - by Slice - 05.05.2012, 15:14
Re: AW: Useful Snippets - by Kar - 05.05.2012, 16:48
Re: Useful Snippets - by [Full]Garfield[XDB] - 05.05.2012, 20:32
Re: AW: Useful Snippets - by RyDeR` - 06.05.2012, 17:22
Re: Useful Snippets - by Joe Staff - 07.05.2012, 06:25
Re: Useful Snippets - by [HLF]Southclaw - 07.05.2012, 07:54
Re: Useful Snippets - by Lorenc_ - 23.06.2012, 11:15
Re: Useful Snippets - by Michael@Belgium - 23.06.2012, 11:51
Re: Useful Snippets - by Lorenc_ - 23.06.2012, 11:57
Re: Useful Snippets - by Lorenc_ - 25.06.2012, 11:00
Re: Useful Snippets - by Niko_boy - 25.06.2012, 11:54
Re: Useful Snippets - by Infamous - 26.06.2012, 08:55
Re: Useful Snippets - by Lorenc_ - 26.06.2012, 09:06
Re: Useful Snippets - by Pizzy - 09.07.2012, 16:39
Re: Useful Snippets - by AnonymousUser - 09.07.2012, 17:32
Re: Useful Snippets - by Lorenc_ - 09.07.2012, 17:41
Re: Useful Snippets - by Jancis71 - 11.07.2012, 15:24
Re: Useful Snippets - by Lorenc_ - 12.07.2012, 23:34
Re : Useful Snippets - by ipsBruno - 12.07.2012, 23:51
Re : Useful Snippets - by ipsBruno - 13.07.2012, 00:03
Re : Useful Snippets - by ipsBruno - 13.07.2012, 00:14
Re: Re : Useful Snippets - by Ash. - 13.07.2012, 00:22
Re: Re : Useful Snippets - by Lorenc_ - 13.07.2012, 00:30
Re : Re: Useful Snippets - by ipsBruno - 13.07.2012, 00:31
Re: Useful Snippets - by Lorenc_ - 13.07.2012, 00:36
Re : Re: Useful Snippets - by ipsBruno - 13.07.2012, 00:39
Re: Useful Snippets - by Lorenc_ - 20.07.2012, 09:21
Re: Useful Snippets - by Y_Less - 20.07.2012, 09:30
Re: Useful Snippets - by FireCat - 20.07.2012, 10:09
Re: Useful Snippets - by Y_Less - 20.07.2012, 10:18
Respuesta: Useful Snippets - by JoBullet - 20.07.2012, 10:27
Re: Useful Snippets - by FireCat - 20.07.2012, 10:29
Re: Useful Snippets - by BaubaS - 20.07.2012, 11:09
Re: Useful Snippets - by FireCat - 20.07.2012, 11:14
Re: Useful Snippets - by BaubaS - 20.07.2012, 11:28
Re: Useful Snippets - by Slice - 20.07.2012, 11:37
Re: Useful Snippets - by MeDaKewlDude - 06.08.2012, 19:30
Re: Useful Snippets - by Makaveli93 - 07.08.2012, 03:28
Re: Useful Snippets - by Lorenc_ - 07.08.2012, 18:47
Re: Useful Snippets - by Sniper Kitty - 09.08.2012, 03:04
Re: Useful Snippets - by Slice - 10.08.2012, 10:15
Re: Useful Snippets - by Vince - 10.08.2012, 10:21
Re: Useful Snippets - by Slice - 10.08.2012, 12:41
Re: Useful Snippets - by FireCat - 10.08.2012, 12:54
Re: Useful Snippets - by kurta999 - 10.08.2012, 13:33
AW: Re: Useful Snippets - by Nero_3D - 10.08.2012, 14:00
Re: Useful Snippets - by Akira297 - 21.08.2012, 18:47
Re: Useful Snippets - by Youarex - 21.08.2012, 20:07
Re: Useful Snippets - by Finn - 21.08.2012, 20:09
Re: Useful Snippets - by Youarex - 21.08.2012, 20:15
Re: Useful Snippets - by kacper55331 - 21.08.2012, 20:25
Re: Useful Snippets - by TheArcher - 21.08.2012, 20:44
Re: Useful Snippets - by Glint - 22.08.2012, 07:56
Re: Useful Snippets - by Glint - 22.08.2012, 10:00
Re: Useful Snippets - by Glint - 22.08.2012, 12:40
Re: Useful Snippets - by Lorenc_ - 04.09.2012, 12:09
Re: Useful Snippets - by Slice - 17.09.2012, 17:45
Re: Useful Snippets - by Glint - 17.09.2012, 18:25
Re: Useful Snippets - by Glint - 17.09.2012, 18:28
Re: Useful Snippets - by kaisersouse - 17.09.2012, 19:33
Re: Useful Snippets - by TheArcher - 17.09.2012, 20:23
Re: Useful Snippets - by jameskmonger - 17.09.2012, 20:28
Re: Useful Snippets - by TheArcher - 17.09.2012, 20:42
Re: Useful Snippets - by Lordzy - 18.09.2012, 02:02
Re: Useful Snippets - by Lordzy - 23.09.2012, 04:00
Re: Useful Snippets - by Sniper Kitty - 23.09.2012, 04:21
Re: Useful Snippets - by Lordzy - 23.09.2012, 04:31
Re: Useful Snippets - by Niko_boy - 23.09.2012, 04:32
Re: Useful Snippets - by Lordzy - 23.09.2012, 12:59
Re: Useful Snippets - by Lordzy - 23.09.2012, 13:13
Re: Useful Snippets - by NoahF - 23.09.2012, 14:24
Re: Useful Snippets - by Sniper Kitty - 24.09.2012, 05:13
Re: Useful Snippets - by Emmet_ - 25.09.2012, 15:50
Re: Useful Snippets - by Emmet_ - 25.09.2012, 16:49
Re: Useful Snippets - by MicroD - 26.09.2012, 16:29
Re: Useful Snippets - by CyNiC - 15.12.2012, 01:40
Re: Useful Snippets - by zSuYaNw - 10.01.2013, 03:40
Re: Useful Snippets - by AlbertWeSkeR - 03.02.2013, 02:33
Re: Useful Snippets - by SuperViper - 03.02.2013, 02:53
Re: Useful Snippets - by JordanMaddox - 09.02.2013, 02:32
Re: Useful Snippets - by DonWade - 10.02.2013, 20:25
Re: Useful Snippets - by TheArcher - 10.02.2013, 20:58
Re: Useful Snippets - by JordanMaddox - 10.02.2013, 21:48
Re: Useful Snippets - by Sergei - 10.02.2013, 22:19
Re: Useful Snippets - by MP2 - 10.02.2013, 22:23
Re: Useful Snippets - by JordanMaddox - 10.02.2013, 22:28
String Contains an IP - by vvhy - 17.04.2013, 13:38
Re: String Contains an IP - by SuperViper - 18.04.2013, 02:24
Re: String Contains an IP - by Stylock - 18.04.2013, 09:28
Re: Useful Snippets - by RedFusion - 19.04.2013, 11:44
Re: String Contains an IP - by SuperViper - 19.04.2013, 13:57
Re: Useful Snippets - by Lorenc_ - 20.04.2013, 03:57
Re: Useful Snippets - by NicholasA - 21.04.2013, 10:04
Re: Useful Snippets - by RedFusion - 21.04.2013, 11:06
Re: Useful Snippets - by Lordz™ - 27.04.2013, 11:21
Re: Useful Snippets - by Niko_boy - 10.07.2013, 13:02
Re: Useful Snippets - by RedFusion - 10.07.2013, 13:37
Re: Useful Snippets - by Dragonsaurus - 11.07.2013, 16:11
Re: Useful Snippets - by RedFusion - 11.07.2013, 19:39
Re: Useful Snippets - by RyDeR` - 11.07.2013, 22:01
Re: Useful Snippets - by RedFusion - 12.07.2013, 00:00
Re: Useful Snippets - by RedFusion - 13.07.2013, 14:50
Re: Useful Snippets - by Dragonsaurus - 15.07.2013, 12:22
Re: Useful Snippets - by faff - 16.07.2013, 14:40
Re: Useful Snippets - by Slice - 16.07.2013, 14:55
Re: Useful Snippets - by bensmart469 - 16.07.2013, 15:10
Re: Useful Snippets - by faff - 16.07.2013, 15:17
Re: Useful Snippets - by Slice - 16.07.2013, 15:21
Re: Useful Snippets - by Luis- - 16.07.2013, 15:33
Re: Useful Snippets - by HuSs3n - 16.07.2013, 20:53
Re: Useful Snippets - by Emmet_ - 16.07.2013, 22:17
Re: Useful Snippets - by lapius - 29.08.2013, 16:16
Re: Useful Snippets - by Emmet_ - 23.09.2013, 10:46
AW: Useful Snippets - by ThomasTailor93 - 24.09.2013, 13:09
Re: AW: Useful Snippets - by Niko_boy - 24.09.2013, 16:18
Re: Useful Snippets - by zPain - 29.09.2013, 22:23
AW: Re: Useful Snippets - by Nero_3D - 01.10.2013, 18:53
Re: Useful Snippets - by Emmet_ - 14.10.2013, 13:36
Re: Useful Snippets - by Misiur - 14.10.2013, 13:57
Re: Useful Snippets - by Slice - 14.10.2013, 15:02
Re: Useful Snippets - by Emmet_ - 14.10.2013, 15:10
Re: Useful Snippets - by Slice - 14.10.2013, 19:58
Re: Useful Snippets - by Emmet_ - 14.10.2013, 20:15
Re: Useful Snippets - by Slice - 15.11.2013, 13:22
Re: Useful Snippets - by Patrick - 26.12.2013, 18:53
Re: Useful Snippets - by danish007 - 06.07.2014, 10:42
Re: Useful Snippets - by AroseKhanNiazi - 06.09.2014, 09:41
Re: Useful Snippets - by fall3n - 25.12.2014, 11:45
Re: Useful Snippets - by LivingLikeYouDo - 25.12.2014, 11:55
Re: Useful Snippets - by Abagail - 28.12.2014, 02:07
Re: Useful Snippets - by Skream - 28.12.2014, 08:49
Re: Useful Snippets - by Lordzy - 31.12.2014, 08:10
Respuesta: Re: Useful Snippets - by Gryphus One - 03.01.2015, 02:45
Re: Useful Snippets - by PaulDinam - 04.01.2015, 19:12
Re: Useful Snippets - by CoaPsyFactor - 20.01.2015, 22:38
Re: Useful Snippets - by codectile - 23.01.2015, 11:43
Re: Useful Snippets - by codectile - 23.01.2015, 11:59
Re: Useful Snippets - by Banana_Ghost - 22.08.2015, 22:37
Re: Useful Snippets - by RIDE2DAY - 26.09.2015, 16:34
Re: Useful Snippets - by Patrick - 30.11.2015, 22:42
Re: Useful Snippets - by SecretBoss - 09.12.2015, 17:37
Re: Useful Snippets - by rootcause - 12.01.2016, 23:38
Re: Useful Snippets - by OstGot - 06.02.2016, 08:28
Re: Useful Snippets - by DRIFT_HUNTER - 23.03.2016, 08:41
Re: Useful Snippets - by Th3UnKnOwN - 01.04.2016, 06:52
Re: Useful Snippets - by SickAttack - 01.04.2016, 07:23
Re: Useful Snippets - by Luicy. - 20.06.2016, 11:57
Re: Useful Snippets - by Logic_ - 12.08.2016, 18:39
Re: Useful Snippets - by SyS - 29.10.2016, 09:23
Re: Useful Snippets - by SyS - 31.10.2016, 01:32
Re: Useful Snippets - by Kar - 13.12.2016, 14:34
Re: Useful Snippets - by Logic_ - 20.12.2016, 16:24
Re: Useful Snippets - by Konstantinos - 20.12.2016, 16:29
Re: Useful Snippets - by SickAttack - 20.12.2016, 16:30
Re: Useful Snippets - by Logic_ - 23.12.2016, 04:42
Re: Useful Snippets - by oMa37 - 31.12.2016, 15:09
Re: Useful Snippets - by OstGot - 31.12.2016, 15:16
Re: Useful Snippets - by oMa37 - 31.12.2016, 15:18
Re: Useful Snippets - by Konstantinos - 31.12.2016, 15:23
Re: Useful Snippets - by oMa37 - 09.01.2017, 13:34
Re: Useful Snippets - by Lordzy - 09.01.2017, 13:48
Re: Useful Snippets - by oMa37 - 12.01.2017, 21:03
Re: Useful Snippets - by SyS - 13.01.2017, 14:13
Re: Useful Snippets - by OstGot - 02.02.2017, 11:29
Re: Useful Snippets - by Dayrion - 23.02.2017, 14:11
Re: Useful Snippets - by OstGot - 24.02.2017, 18:56
Re: Useful Snippets - by Nero_3D - 24.02.2017, 21:46
Re: Useful Snippets - by OstGot - 25.02.2017, 09:30
Re: Useful Snippets - by Flashhiee - 04.03.2017, 18:55
Re: Useful Snippets - by SyS - 20.03.2017, 15:29
Re: Useful Snippets - by Dayrion - 20.03.2017, 15:53
Re: Useful Snippets - by Crayder - 20.03.2017, 16:28
Re: Useful Snippets - by Logic_ - 21.03.2017, 12:02
Re: Useful Snippets - by OneDay - 21.03.2017, 22:06
Re: Useful Snippets - by AbyssMorgan - 24.03.2017, 21:02
Re: Useful Snippets - by JakeWalker - 14.04.2017, 06:11
Re: Useful Snippets - by Dignity - 17.04.2017, 02:09
Re: Useful Snippets - by JessThompson - 06.05.2017, 03:53
Re: Useful Snippets - by Xeon™ - 01.08.2017, 12:45
Re: Useful Snippets - by AbyssMorgan - 26.08.2017, 19:04
Re: Useful Snippets - by verlaj - 28.08.2017, 10:20
Re: Useful Snippets - by verlaj - 02.09.2017, 14:37
Re: Useful Snippets - by Kar - 10.12.2017, 04:17
Re: Useful Snippets - by rfr - 24.12.2017, 20:28
Re: Useful Snippets - by Codeah - 24.12.2017, 20:34
Re: Useful Snippets - by [HLF]Southclaw - 24.12.2017, 23:20
Re: Useful Snippets - by Lokii - 29.12.2017, 14:32
Re: Useful Snippets - by RogueDrifter - 17.01.2018, 00:16
Re: Useful Snippets - by ThePhenix - 17.01.2018, 00:24
Re: Useful Snippets - by RogueDrifter - 17.01.2018, 00:27
Re: Useful Snippets - by RogueDrifter - 29.01.2018, 00:08
Simple Whisper and Car Whisper commands controllable - by RxErT - 10.02.2018, 09:00
Re: Useful Snippets - by RogueDrifter - 28.02.2018, 12:55
Re: Useful Snippets - by RogerCosta - 07.03.2018, 21:07
Re: Useful Snippets - by Lokii - 11.03.2018, 17:48
Re: Useful Snippets - by RogerCosta - 13.03.2018, 15:17
Re: Useful Snippets - by Gammix - 13.03.2018, 15:51
Re: Useful Snippets - by iKarim - 02.04.2018, 12:13
Re: Useful Snippets - by Lokii - 19.04.2018, 15:43
Re: Useful Snippets - by Zorono - 22.05.2018, 14:25
Re: Useful Snippets - by Gammix - 26.05.2018, 20:11
Re: Useful Snippets - by Cell_ - 26.05.2018, 20:22
Re: Useful Snippets - by [HLF]Southclaw - 27.05.2018, 09:39
Re: Useful Snippets - by Fungi - 27.05.2018, 11:03
Re: Useful Snippets - by RxErT - 28.05.2018, 08:07
Re: Useful Snippets - by CodeStyle175 - 28.05.2018, 17:46
Re: Useful Snippets - by RxErT - 28.05.2018, 19:28
Re: Useful Snippets - by SeanDenZYR - 29.05.2018, 12:13
Re: Useful Snippets - by Logic_ - 09.06.2018, 16:11
Re: Useful Snippets - by Logic_ - 10.06.2018, 07:27
Re: Useful Snippets - by Lokii - 16.06.2018, 20:09
Re: Useful Snippets - by cuber - 16.06.2018, 20:34
Re: Useful Snippets - by Dignity - 16.06.2018, 21:12
Re: Useful Snippets - by Crystallize - 16.06.2018, 21:23
Re: Useful Snippets - by cuber - 16.06.2018, 21:57
Re: Useful Snippets - by Crystallize - 16.06.2018, 23:46
Re: Useful Snippets - by Dignity - 19.06.2018, 10:35
Re: Useful Snippets - by Lokii - 19.06.2018, 15:41
Re: Useful Snippets - by Calisthenics - 23.06.2018, 14:28
Re: Useful Snippets - by Lokii - 23.06.2018, 15:34
Re: Useful Snippets - by Calisthenics - 23.06.2018, 15:40
Re: Useful Snippets - by Logic_ - 23.06.2018, 17:45
Re: Useful Snippets - by Logic_ - 24.06.2018, 21:36
Re: Useful Snippets - by SyS - 25.06.2018, 02:57
Re: Useful Snippets - by GhostHacker9 - 26.06.2018, 02:38
Re: Useful Snippets - by Logic_ - 26.06.2018, 03:45
Re: Useful Snippets - by Marmeladova - 13.07.2018, 21:58
Re: Useful Snippets - by Lokii - 30.08.2018, 17:16
Re: Useful Snippets - by brauf - 01.09.2018, 19:21
Re: Useful Snippets - by Dayrion - 03.09.2018, 19:05
Re: Useful Snippets - by brauf - 03.09.2018, 20:31
Re: Useful Snippets - by Crystallize - 12.09.2018, 01:49
Re: Useful Snippets - by AmirSavand - 23.10.2018, 01:24
Re: Useful Snippets - by TheToretto - 31.10.2018, 15:12
Re: Useful Snippets - by Heress - 31.10.2018, 16:47
Re: Useful Snippets - by Riddick94 - 09.11.2018, 08:41
Re: Useful Snippets - by Lokii - 24.01.2019, 17:05
Re: Useful Snippets - by SymonClash - 02.02.2019, 17:15
Re: Useful Snippets - by Lokii - 02.02.2019, 17:27
Re: Useful Snippets - by Kasichok - 07.02.2019, 17:45
Re: Useful Snippets - by Riddick94 - 11.02.2019, 05:28
Re: Useful Snippets - by Y_Less - 11.02.2019, 07:18
Re: Useful Snippets - by iamjems - 15.02.2019, 19:22
Re: Useful Snippets - by Lokii - 06.04.2019, 14:42
Re: Useful Snippets - by OstGot - 02.07.2019, 16:25
Re: Useful Snippets - by Lokii - 02.09.2019, 22:47
Re: Useful Snippets - by OstGot - 03.09.2019, 11:40
Re: Useful Snippets - by Lokii - 03.09.2019, 11:54
Re: Useful Snippets - by AbyssMorgan - 27.09.2019, 08:00
Re: Useful Snippets - by Lokii - 05.11.2019, 17:58
Re: Useful Snippets - by Lokii - 05.11.2019, 18:02
Re: Useful Snippets - by Symon - 10.03.2020, 11:33
Re: Useful Snippets - by Kasichok - 21.04.2020, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)