Jump to content

-=[Vyorel]=-

Administrator
  • Posts

    2,133
  • Joined

  • Last visited

  • Days Won

    97

Posts posted by -=[Vyorel]=-

  1. [FS] Comenzi Culori

    Autor: [DSK]Vyorel

    Tip:  FilterScript

    Versiune: 1.0

    Forum: www.xerom-zone.ro

    Comenzi:

    /culori => Iti da celelalte comenzi

    PosteBin

    http://pastebin.com/f2e0dc30b

    Download

    download.png

    Forum Oficial

    http://forum.sa-mp.com/index.php?topic=94114.0

  2. am nevoie de un cod pentru a pune o masina... nu tot codul.

    de exemplu vreau sa pun o masina cheetah la codul de mai sus.

    Pai trebuie sa salvezi coordonatele.Asta o poti faci scriind cand esti pe Server intr-o masina /save iar apoi intri unde ai GTA SA instalat si gasesti un fisier savedpozition.Gasesti in el niste linii de genu:

    AddStaticVehicle(ID Car,coordonatele); //

    Copii randurile alea in script si gata.

    PS: Asta cam e Off Topic dintr-una o dam in alta,dar ...

  3. Astea pe la inceputul scriptului

    new Serverbot;
    new BotMessages[14][256] = { //in loc de 14 pui cate texte ai
        "  text",
        "  text",
        "  text",
        "  text",
        "  text",
        "  text",
        "  text",
        "  text",
        "  text!",
        "  text",
        "  text",
        "  text",
        "  text",
        "  text"
    };
    Astea mai jos
    public BotMSG(playerid)
    {
        if(Serverbot < 33)
    {
        Serverbot++;
        }
    else
    {
        Serverbot = 0;
        }
        printf(" ");
        SendClientMessageToAll(COLOR_GREEN,BotMessages[Serverbot]);
        printf("Bot sent message: %s",BotMessages[Serverbot]);
        printf(" ");
    }

    Eu le-am luat din .pwn de la modu The Crime Life si merg.

    Daca nu,intra aici

  4. Ti-a scris Lazlow mai sus.Dar in fine,uite:

    #include <a_samp>

    #define FILTERSCRIPT
    #pragma tabsize 0

    public OnFilterScriptInit() {
    CreateObject(1310, 2406.044678, -2266.016357, 61.370602, 0.0000, 0.0000, 0.0000);
    CreateObject(3361, 2411.412354, -2278.384277, 42.745335, 0.0000, 0.0000, 45.0000);
    CreateObject(3361, 2407.620117, -2282.191406, 46.355339, 0.0000, 0.0000, 45.0000);
    CreateObject(8040, 2373.581055, -2309.333008, 49.217285, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2315.786865, -2363.705811, 54.357346, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2262.869385, -2415.759277, 15.115066, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2261.165527, -2417.489502, 57.871143, 0.0000, 5.1566, 44.1406);
    CreateObject(18449, 2211.973633, -2465.761719, 74.371460, 0.0000, 20.6265, 45.0000);
    CreateObject(18449, 2168.377686, -2510.701172, 108.038467, 0.0000, 36.9558, 46.7189);
    CreateObject(1634, 2343.382568, -2336.330811, 54.773399, 348.8273, 0.0000, 315.8594);
    CreateObject(1634, 2349.124023, -2330.444580, 58.648464, 10.3132, 0.0000, 315.8594);
    CreateObject(18449, 2394.110352, -2286.515381, 72.269287, 0.0000, 0.0000, 45.0000);
    CreateObject(1634, 2422.511475, -2257.913574, 72.885262, 353.1245, 0.0000, 314.1406);
    CreateObject(1634, 2491.178223, -2227.911621, 13.563873, 7.7349, 359.1406, 268.5905);
    CreateObject(1634, 2428.247803, -2252.407715, 76.165497, 1.7189, 0.0000, 313.2038);
    CreateObject(1634, 2432.047119, -2248.710938, 80.644035, 29.2208, 0.8594, 315.7821);
    CreateObject(1634, 2350.145996, -2336.215088, 52.823975, 320.4659, 359.1406, 315.8594);
    CreateObject(1634, 2355.208252, -2331.069824, 51.774101, 331.6386, 0.0000, 315.0000);
    CreateObject(1634, 2360.907227, -2325.318115, 49.473976, 310.1527, 0.0000, 315.0000);
    CreateObject(1634, 2498.211426, -2228.044189, 19.065718, 18.0482, 359.1406, 268.5905);
    CreateObject(8040, 2071.405029, -2611.071045, 258.330963, 0.0000, 359.1406, 45.0000);
    CreateObject(18449, 2130.239502, -2551.124512, 160.508057, 0.0000, 49.8473, 46.7189);
    CreateObject(18449, 2107.901123, -2574.631348, 219.969864, 0.0000, 71.3332, 46.7189);
    CreateObject(3331, 2315.089355, -2654.372070, 25.017567, 0.0000, 0.0000, 270.0000);
    return 1; }
    public OnPlayerCommandText(playerid, cmdtext[]) //Comanda pt teleportare
    {
    if (strcmp("/comanda", cmdtext, true, 10) == 0)
    {
    SetPlayerPos(playerid, coordonatele); //coordonatele unde sa se teleporteze
    return 1;
    }
    return 0;
    }


  5. #include <a_samp>

    // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT

    #if defined FILTERSCRIPT

    public OnFilterScriptInit()
    {
    CreateObject(1310, 2406.044678, -2266.016357, 61.370602, 0.0000, 0.0000, 0.0000);
    CreateObject(3361, 2411.412354, -2278.384277, 42.745335, 0.0000, 0.0000, 45.0000);
    CreateObject(3361, 2407.620117, -2282.191406, 46.355339, 0.0000, 0.0000, 45.0000);
    CreateObject(8040, 2373.581055, -2309.333008, 49.217285, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2315.786865, -2363.705811, 54.357346, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2262.869385, -2415.759277, 15.115066, 0.0000, 0.0000, 45.0000);
    CreateObject(18449, 2261.165527, -2417.489502, 57.871143, 0.0000, 5.1566, 44.1406);
    CreateObject(18449, 2211.973633, -2465.761719, 74.371460, 0.0000, 20.6265, 45.0000);
    CreateObject(18449, 2168.377686, -2510.701172, 108.038467, 0.0000, 36.9558, 46.7189);
    CreateObject(1634, 2343.382568, -2336.330811, 54.773399, 348.8273, 0.0000, 315.8594);
    CreateObject(1634, 2349.124023, -2330.444580, 58.648464, 10.3132, 0.0000, 315.8594);
    CreateObject(18449, 2394.110352, -2286.515381, 72.269287, 0.0000, 0.0000, 45.0000);
    CreateObject(1634, 2422.511475, -2257.913574, 72.885262, 353.1245, 0.0000, 314.1406);
    CreateObject(1634, 2491.178223, -2227.911621, 13.563873, 7.7349, 359.1406, 268.5905);
    CreateObject(1634, 2428.247803, -2252.407715, 76.165497, 1.7189, 0.0000, 313.2038);
    CreateObject(1634, 2432.047119, -2248.710938, 80.644035, 29.2208, 0.8594, 315.7821);
    CreateObject(1634, 2350.145996, -2336.215088, 52.823975, 320.4659, 359.1406, 315.8594);
    CreateObject(1634, 2355.208252, -2331.069824, 51.774101, 331.6386, 0.0000, 315.0000);
    CreateObject(1634, 2360.907227, -2325.318115, 49.473976, 310.1527, 0.0000, 315.0000);
    CreateObject(1634, 2498.211426, -2228.044189, 19.065718, 18.0482, 359.1406, 268.5905);
    CreateObject(8040, 2071.405029, -2611.071045, 258.330963, 0.0000, 359.1406, 45.0000);
    CreateObject(18449, 2130.239502, -2551.124512, 160.508057, 0.0000, 49.8473, 46.7189);
    CreateObject(18449, 2107.901123, -2574.631348, 219.969864, 0.0000, 71.3332, 46.7189);
    CreateObject(3331, 2315.089355, -2654.372070, 25.017567, 0.0000, 0.0000, 270.0000);
    return 1;
    }

    public OnFilterScriptExit()
    {
    return 1;
    }

    #else

    Pune-l pe asta inloc de ala de la new.

    Adica,sterge-l pe ala care iti apare tie,si pune-l pe asta.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.