Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

m0nst3r

Użytkownik
  • Postów

    150
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez m0nst3r

  1. Dzięki wielkie działa

    26 minut temu, dredek | Cs-Creativ.pl napisał:

    Podmień na to i zobacz. Napisz jeszcze czy korzystasz z jakiegoś pluginu od zarządzania map.

    
    "MapLists"
    {
    	/**
    	 * Default requests go right to the mapcyclefile.
    	 */
    	"default"
    	{
    		"target"		"mapcyclefile"
    	}
    	
    	/* Admin menu, map menu */
    	"sm_map menu"
    	{
    		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    	}
    	
    	/* Admin menu, map voting menu */
    	"sm_votemap menu"
    	{
    		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    	}
    	
    	/* For the "randomcycle" plugin */
    	"randomcycle"
    	{
    		"target"		"default"
    	}
    	
    	/* For the "mapchooser" plugin */
    	"mapchooser"
    	{
    		"target"		"default"
    	}
    	
    	/* For the "nominations" plugin */
    	"nominations"
    	{
    		"target"		"default"
    	}
    }

     

     

  2. /**
     * Use this file to configure map lists.
     *
     * Each section is a map list that plugins can use.  For example, the Admin Menu 
     * requests an "admin menu" map list, and you can control which maps appear via 
     * this file.
     *
     * Each section must have a property that explains where to read the maps from.
     * There are two properties:
     *
     *    target         - Redirect the request to another section.
     *    file             - Read a file of map names, in mapcycle.txt format.
     *
     * There is one section by default, called "mapcyclefile" - it is mapped to the 
     * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
     *
     * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
     * tries the "default" section, and then the "mapcyclefile" section.
     */
    "MapLists"
    {
        /**
         * Default requests go right to the mapcyclefile.
         */
        "default"
        {
            "target"        "mapcyclefile"
        }
        
        /* Admin menu, map menu */
        "sm_map menu"
        {
            "file"
                "maplist.txt"
        }
        
        /* Admin menu, map voting menu */
        "sm_votemap menu"
        {
            "file"
                "maplist.txt"
        }
        
        /* For the "randomcycle" plugin */
        "randomcycle"
        {
            "target"        "default"
        }
        
        /* For the "mapchooser" plugin */
        "mapchooser"
        {
            "target"        "default"
        }
        
        /* For the "nominations" plugin */
        "nominations"
        {
            "target"        "default"
        }
    }
     

    1 minutę temu, dredek | Cs-Creativ.pl napisał:

    Pokaż plik csgo/addons/sourcemod/configs/maplists.cfg

     

  3. Ciągle pokazuje ostatnia runda. A co daje ten plugin?

    19 minut temu, SUPER TIMOR napisał:

    Co to znaczy słabo zaczął działać? Mi chodzi o timer na bhopa czy jaki tam serwer masz, coś co liczy czas od startu do końca.

    Poza tym, jak tam z tym pluginem co Ci napisałem?

     

  4. 8 minut temu, SUPER TIMOR napisał:

    Korzystasz może z jakiegoś timera? Jeśli tak, to podlinkuj, z którego.

    Sprawdź error logi i wklej tutaj.

    Na fall damage i auto bhop przy trzymaniu spacji :

      Pokaż ukrytą zawartość

     

    Jak dodam ten to powinno zadziałać?

    8 minut temu, SUPER TIMOR napisał:

    Korzystasz może z jakiegoś timera? Jeśli tak, to podlinkuj, z którego.

    Sprawdź error logi i wklej tutaj.

    Na fall damage i auto bhop przy trzymaniu spacji :

      Ukryj zawartość
    
    
    #include <sourcemod>
    #include <sdkhooks>
    
    public Plugin myinfo =  {
        name = "", 
        author = "Timor", 
        description = "", 
        version = "1.0", 
        url = "goBoosting.pl"
    };
    
    public void OnClientPutInServer(int client) {
        SDKHook(client, SDKHook_OnTakeDamage, ev_OnTakeDamage);
    }
    
    public void OnClientDisconnect(int client) {
        SDKUnhook(client, SDKHook_OnTakeDamage, ev_OnTakeDamage);
    }
    
    public Action ev_OnTakeDamage(int victim, int &attacker, int &ent, float &damage, int &damageType, int &weapon, float damageForce[3], float damagePos[3], int damageCustom) {
    
        if(!IsValidClient(victim))
            return Plugin_Continue;
            
        if(damageType & DMG_FALL)
            return Plugin_Handled;
    
        return Plugin_Continue;
    }
    
    public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon, int &subtype, int &cmdnum, int &tickcount, int &seed, int mouse[2]) {
        
        if(!IsValidClient(client) || !IsPlayerAlive(client))
            return Plugin_Continue;
    
        if(buttons & IN_JUMP) {
            if(!(GetEntityFlags(client) & (FL_WATERJUMP | FL_ONGROUND)))
                buttons &= ~IN_JUMP;
        }
    
        return Plugin_Continue;
    }
    
    
    public bool IsValidClient(int client) {
        if(client >= 1 && client <= MaxClients && IsClientInGame(client))
            return true;
    
        return false;
    }

     

     

     

  5. Do dobrych folderów wgrałem

    Te bh próbowałem wiele razy i nie chciało działać

    1 minutę temu, m0nst3r napisał:

     

     

    2 minuty temu, Mersh ;3 napisał:

    Poprawnie Wgrales Plugin? 

    Jezeli nie jestes pewien upewnij sie, a jezeli nie umiesz w co watpie napisz na PW wszystko Ci wytlumacze ?

     

×
×
  • Dodaj nową pozycję...