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

MrKuBx

Użytkownik
  • Postów

    25
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez MrKuBx

  1. Jeden użytkownik na moim serwerze próbując łaczyć sie na serwer pisze mu "Twój dostęp do serwera został zablokowany" Lecz ban na sourcbansie wygasł wpisujac sm_unban id pisze [SourceBans++] No active bans found for that filter. Mapa została zmieniona server zresetowany.

  2. Po zmienieniu configu na ten:

    "Store" 

    "Custom Knives" 
        { 
            "Tri-Dagger Black" 
            { 
                "model"  "models/weapons/v_knife_tridagger_v2.mdl" 
                "entity"  "weapon_knife" 
                "price"        "50" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Tri-dagger Steel" 
            { 
                "model"  "models/weapons/v_knife_tridagger_steel.mdl" 
                "entity"  "weapon_knife" 
                "price"        "100" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Black Dagger" 
            { 
                "model"  "models/weapons/v_knife_reaper.mdl" 
                "entity"  "weapon_knife" 
                "price"        "200" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Kabar" 
            { 
                "model"  "models/weapons/v_knife_kabar_v2.mdl" 
                "entity"  "weapon_knife" 
                "price"        "300" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "CS 1.6 Knife" 
            { 
                "model"  "models/weapons/crashz.mdl" 
                "entity"  "weapon_knife" 
                "price"        "400" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Ultimate Knife" 
            { 
                "model"  "models/weapons/v_knife_ultimate.mdl" 
                "entity"  "weapon_knife" 
                "price"        "500" 
              "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Gong fu" 
            { 
                "model"  "models/weapons/v_gongfu.mdl" 
                "entity"  "weapon_knife" 
                "price"        "600" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Caleon" 
            { 
                "model"       "models/weapons/caleon1/screwdriver/v_knife_screwdriver.mdl" 
                "worldmodel"  "models/weapons/caleon1/screwdriver/w_knife_screwdriver.mdl" 
                "entity"  "weapon_knife" 
                "price"        "600" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
        } 
         
         
        "Custom Weapons" 
        { 
         
                "Miku awp" 
            { 
                "model"  "models/weapons/v_hmikuawp.mdl" 
                "worldmodel"  "models/weapons/w_hmikuawp.mdl" 
                "entity"  "weapon_awp" 
                "price"        "300" 
                "type"        "CustomModel"   
                "slot"   "1" 
            } 
            "Anime awp" 
            { 
                "model"  "models/weapons/v_animeawp.mdl" 
                "worldmodel"  "models/weapons/w_animeawp.mdl" 
                "entity"  "weapon_awp" 
                "price"        "50" 
                "type"        "CustomModel"   
                "slot"   "1" 
            } 
             
            "Dual finity" 
            { 
                "model"  "models/weapons/v_pist_dualinfinity.mdl" 
                "entity"  "weapon_elite" 
                "price"        "150" 
                "type"        "CustomModel"  
                "slot"   "2" 
            } 
             
            "HE-Grenade Pokeball" 
            { "Store" 

    "Custom Knives" 
        { 
            "Tri-Dagger Black" 
            { 
                "model"  "models/weapons/v_knife_tridagger_v2.mdl" 
                "entity"  "weapon_knife" 
                "price"        "50" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Tri-dagger Steel" 
            { 
                "model"  "models/weapons/v_knife_tridagger_steel.mdl" 
                "entity"  "weapon_knife" 
                "price"        "100" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Black Dagger" 
            { 
                "model"  "models/weapons/v_knife_reaper.mdl" 
                "entity"  "weapon_knife" 
                "price"        "200" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Kabar" 
            { 
                "model"  "models/weapons/v_knife_kabar_v2.mdl" 
                "entity"  "weapon_knife" 
                "price"        "300" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "CS 1.6 Knife" 
            { 
                "model"  "models/weapons/crashz.mdl" 
                "entity"  "weapon_knife" 
                "price"        "400" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Ultimate Knife" 
            { 
                "model"  "models/weapons/v_knife_ultimate.mdl" 
                "entity"  "weapon_knife" 
                "price"        "500" 
              "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Gong fu" 
            { 
                "model"  "models/weapons/v_gongfu.mdl" 
                "entity"  "weapon_knife" 
                "price"        "600" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
            "Caleon" 
            { 
                "model"       "models/weapons/caleon1/screwdriver/v_knife_screwdriver.mdl" 
                "worldmodel"  "models/weapons/caleon1/screwdriver/w_knife_screwdriver.mdl" 
                "entity"  "weapon_knife" 
                "price"        "600" 
                "type"        "CustomModel"  
                "slot"   "0" 
            } 
        } 
         
         
        "Custom Weapons" 
        { 
         
                "Miku awp" 
            { 
                "model"  "models/weapons/v_hmikuawp.mdl" 
                "worldmodel"  "models/weapons/w_hmikuawp.mdl" 
                "entity"  "weapon_awp" 
                "price"        "300" 
                "type"        "CustomModel"   
                "slot"   "1" 
            } 
            "Anime awp" 
            { 
                "model"  "models/weapons/v_animeawp.mdl" 
                "worldmodel"  "models/weapons/w_animeawp.mdl" 
                "entity"  "weapon_awp" 
                "price"        "50" 
                "type"        "CustomModel"   
                "slot"   "1" 
            } 
             
            "Dual finity" 
            { 
                "model"  "models/weapons/v_pist_dualinfinity.mdl" 
                "entity"  "weapon_elite" 
                "price"        "150" 
                "type"        "CustomModel"  
                "slot"   "2" 
            } 
             
            "HE-Grenade Pokeball" 
            { 
                "model"  "models/weapons/v_hegrenade_pokeball.mdl" 
                "entity"  "weapon_hegrenade" 
                "price"        "100" 
                "type"        "CustomModel"  
                "slot"   "3" 
            } 
        } 
    }  
                "model"  "models/weapons/v_hegrenade_pokeball.mdl" 
                "entity"  "weapon_hegrenade" 
                "price"        "100" 
                "type"        "CustomModel"  
                "slot"   "3" 
            } 
        } 
    }  

     

    !shop przestaje działać 

  3. #6 

    #include <sourcemod>
    #include <sdktools>
    #include <cstrike>
    #include <sdkhooks>
    #include <scp>

    public OnPluginStart()
    {
        HookEvent("player_spawn", Event_PlayerSpawn);
    }


    public OnClientPutInServer(client)
    {
        if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1))
        {
            CS_SetClientClanTag(client, "[VIP]");
        }
    }

    public Action:Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
    {
        int client = GetClientOfUserId(GetEventInt(event, "attacker"));
        if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1))
        {
            SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+150);
        }
    }

    public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) 
    {
        if(IsValidPlayer(author)&&GetUserFlagBits(author)&(1<<ADMFLAG_CUSTOM1))
        {
            Format(name, MAXLENGTH_NAME, "%s", name);
            new MaxMessageLength = MAXLENGTH_MESSAGE - strlen(name) - 5; 
            Format(name, MaxMessageLength, " [VIP]%s",name); 
            return Plugin_Changed;
        }
        return Plugin_Continue;
    }

    stock bool IsValidPlayer(client)
    {
        if(client >= 1 && client <= MaxClients && IsClientConnected(client) && !IsFakeClient(client) && IsClientInGame(client) )
        return true;

        return false;
    }

     

     

     

    Na granat wzmacniajacy masz plugin

    https://forums.alliedmods.net/showthread.php?p=2394548

  4. Witam chcaiłbym poprosic o dodanie do tego vipa

    Takich rzeczy jak:

    weapon_healthshot x2

    weapon_tagrenade x1

     

     

     

     

    #include <sourcemod>
    #include <sdktools>
    #include <cstrike>
    #include <sdkhooks>
    #include <scp>

    int g_fLastButtons[MAXPLAYERS+1];
    int g_fLastFlags[MAXPLAYERS+1];
    int g_iJumps[MAXPLAYERS+1];

    public Plugin:myinfo = 
    {
        name = "VIP Generator",
        author = "mastah7991",
        description = "Automatycznie wygenerowany VIP",
        version = "1.0",
        url = "www.MyGo.pl"
    }

    public OnPluginStart()
    {
        HookEvent("player_spawn", Event_PlayerSpawn);
    }


    public OnClientPutInServer(client)
    {
        if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM3))
        {
            CS_SetClientClanTag(client, "[SVIP]");
        }
    }

    public Action:Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
    {
        int client = GetClientOfUserId(GetEventInt(event, "attacker"));
        if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM3))
        {
            SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+150);
            SetEntityGravity(client, 1.5);
            SetEntityRenderColor(client, 255, 255, 255, 125);
        }
    }
    public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon)
    {
        if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM3))
        {
            int    fCurFlags    = GetEntityFlags(client);    
            int fCurButtons    = GetClientButtons(client);
                        
            if (g_fLastFlags[client] & FL_ONGROUND)
            {        
                if (!(fCurFlags & FL_ONGROUND) &&!(g_fLastButtons[client] & IN_JUMP) &&    fCurButtons & IN_JUMP) 
                {
                    g_iJumps[client]++;            
                }
            }
            else if (fCurFlags & FL_ONGROUND)
            {
                g_iJumps[client] = 0;                        
            }
            else if (!(g_fLastButtons[client] & IN_JUMP) && fCurButtons & IN_JUMP)
            {
                if ( 1 <= g_iJumps[client] <= 2)
                {                        
                    g_iJumps[client]++;                                            
                    float vVel[3];
                    GetEntPropVector(client, Prop_Data, "m_vecVelocity", vVel);    
                                    
                    vVel[2] = 250.0;
                    TeleportEntity(client, NULL_VECTOR, NULL_VECTOR, vVel);    
                }                            
            }
                            
            g_fLastFlags[client]    = fCurFlags;                
            g_fLastButtons[client]    = fCurButtons;
        }

    }

    public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) 
    {
        if(IsValidPlayer(author)&&GetUserFlagBits(author)&(1<<ADMFLAG_CUSTOM3))
        {
            Format(name, MAXLENGTH_NAME, "%s", name);
            new MaxMessageLength = MAXLENGTH_MESSAGE - strlen(name) - 5; 
            Format(name, MaxMessageLength, " [SVIP]%s",name); 
            return Plugin_Changed;
        }
        return Plugin_Continue;
    }

    stock bool IsValidPlayer(client)
    {
        if(client >= 1 && client <= MaxClients && IsClientConnected(client) && !IsFakeClient(client) && IsClientInGame(client) )
        return true;

        return false;
    }

×
×
  • Dodaj nową pozycję...