Jump to content

TheWolf

Membru
  • Posts

    65
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by TheWolf

  1. Pai uitati aici mesajul privat cu aceasta avertizare

     

    11UMEJ5.png

     

    Eu am dreptul sa imi aleg numele la server :) Recunosc ca este GM lui,dar l-am editat si l-am tot editat ca sa nu se vada ca e a lui altcineva.

    Lasa-ma te rog in pace...am verificat si in lista de servere online si nu exista niciun "SKR". Asai ca eu am dreptul de a alege acest nume

    Daca vrei te pun la credite la ajutoare,dar te rog nu face rau serverului :(

  2. Pai ai grija ca sa nu fie nume identice , ca pawno-ul sa fie valabil (adica exista unele cazuri cand nu merge bine/sau este virusat)

    mai bn fa poza cu server.cfg si cu fisierele din Filterscripts sa vad cum este

  3. Se pare ca nu mai am nevoie de acest script si m-am gandit sa vi-l daruiesc voua :)

    Acesta schimba automat vremea odata la: 1 minut

                                                                        2 minute

                                                                        3 minute

                                                                         4 minute

                                                                          5 minute

                                                                          10 minute

                                                                           20 minute

    Este foarte bun pentru serverele RPG

    vjWU9wp.png

     

     

    #include <a_samp>

    #define FILTERSCRIPT
    #if defined FILTERSCRIPT

    forward WeatherAndTime();

    // id timp
    new const RandomWorldTime[24][1] =
    {
        {0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},{16},{17},{18},{19},{20},{21},{22},{23}
    };

    // Id vreme
    new const RandomWeather[11][1] =
    {
        {1},{2},{3},{4},{5},{7},{8},{9},{10},{15},{16}
    };

    public OnFilterScriptInit()
    {
        print("n---------------------------------------------------------------");
        print(" Script incarcat");
        print("---------------------------------------------------------------n");

        //Timer
        SetTimer("WeatherAndTime", 900000, true);
        //60000 - 1 minute
        //120000 - 2 minute
        //180000 - 3 minute
        //240000 - 4 minute
        //300000 - 5 minute
        //500000 - 10 minute
        //900000 - 20 minute
        return 1;
    }

    public OnFilterScriptExit()
    {
        print(" Crysty's Automatic Weather and Time unloaded.");
        return 1;
    }


    public WeatherAndTime()
    {
        new rwt = random(sizeof RandomWorldTime);
        SetWorldTime(RandomWorldTime[rwt][0]);
        new rw = random(sizeof RandomWeather);
        SetWeather(RandomWeather[rw][0]);
        SendClientMessageToAll(0xFFFFFF, "{CCFF00}Meteo: {FFFFFF}Weather and time updated.{FF3366} Every 20 minutes the weather will change");// Sends a message every ten minutes to all players.
    }
    #endif
     

    • Upvote 1
×
×
  • 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.