UWAGA
W związku z upgrade'em Forum Wiaderko do vB 4.x ewentualne błędy i nieprawidłowości proszę zgłaszać w tym temacie
Serwery Counter Strike 1.6 wiaderko.com

HashJama [TP] 193.33.176.148:27015 status serwera HashJama [TP] połącz

HashJama [FFA] 193.33.176.188:27015status serwera HashJama [FFA] połącz

HashJama [DM] 193.33.176.53:27015status serwera HashJama [DM] połącz

HashJama [Aim Hs] 193.33.176.15:27015status serwera HashJama [Aim Hs] połącz

HashJama [Flags] 193.33.176.111:27015status serwera HashJama  [Flags] połącz

HashJama [AWP/HG DM] 193.33.176.50:27015status serwera HashJama [AWP/HG DM] 193.33.176.50:27015 połącz

HashJama [TP #2] 193.33.176.54:27015status serwera HashJama [TP #2] 193.33.176.54:27015 połącz

wiaderko.com [Ventrilo] v1.svoice.pl:6416status serwera wiaderko.com [Ventrilo]

SPONSOR:
pukawka.pl

Wątek: [plugin] wiecej kasy za killa

Pokaż wyniki od 1 do 5 z 5
  1. #1 [plugin] wiecej kasy za killa 
    Spamer
    Dołączył
    Jan 2011
    Wiek
    22
    Posty
    127
    szukam pluginu ktory daje wiecej kasy za killa
    np. 1000$ za killa 2000$ za HS
    Odpowiedz z cytatem  
     

  2. #2 Odp: [plugin] wiecej kasy za killa 
    Lamka
    Dołączył
    Dec 2011
    Wiek
    14
    Posty
    4
    Nie ma takiego pluginu

    Co najwyżej możesz pozmieniać w cfg serwera, ile na start.
    Odpowiedz z cytatem  
     

  3. #3 Odp: [plugin] wiecej kasy za killa 
    Spamer
    Dołączył
    Jan 2011
    Wiek
    22
    Posty
    127
    jest jest.

    a jak robia pluginy ze vip ma wiecej kasy za killa ?

    podobny kod ale dla graczy bez flagi
    Odpowiedz z cytatem  
     

  4. #4 Odp: [plugin] wiecej kasy za killa 
    Lamka
    Dołączył
    Dec 2011
    Wiek
    14
    Posty
    4
    Znajdź plugin vip, daj jakiemuś ''ogarowi'' żeby tylko przerobił na większy hajs.
    Odpowiedz z cytatem  
     

  5. #5 Odp: [plugin] wiecej kasy za killa 
    Spamer
    Dołączył
    Oct 2010
    Posty
    111
    A co tam łap:
    Kod php:
    /*    Formatright © 2010, ConnorMcLeod

        Kill Money is free software;
        you can redistribute it and/or modify it under the terms of the
        GNU General Public License as published by the Free Software Foundation.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with Kill Money; if not, write to the
        Free Software Foundation, Inc., 59 Temple Place - Suite 330,
        Boston, MA 02111-1307, USA.
    */

    #include <amxmodx>
    #include <cstrike>
    #include <fakemeta>

    #define VERSION "0.1.1"

    enum
    {    
        
    DeathMsg_KillerID 1// byte
        
    DeathMsg_VictimID// byte
        
    DeathMsg_IsHeadshot// byte
        
    DeathMsg_TruncatedWeaponName // string
    }

    #define Money_Amount 1

    new g_iMaxPlayers
    #define IsPlayer(%1)    ( 1 <= %1 <= g_iMaxPlayers )

    #define XTRA_OFS_PLAYER 5
    #define m_iAccount 115
    #define cs_set_money_value(%1,%2)    set_pdata_int(%1, m_iAccount, %2, XTRA_OFS_PLAYER)

    new g_pCvarKillMoneyg_pCvarTkMoneyg_pCvarMaxMoneyg_pCvarKillMoneyHs

    new g_iNewMoney
    new g_iMsgHookMoney
    new gmsgMoney

    public plugin_init()
    {
        
    register_plugin("Kill Money"VERSION"ConnorMcLeod")

        
    g_pCvarKillMoney register_cvar("amx_kill_money""300")
        
    g_pCvarKillMoneyHs register_cvar("amx_kill_money_hs""1337")
        
    g_pCvarTkMoney register_cvar("amx_teamkill_money""-1337")
        
    g_pCvarMaxMoney register_cvar("amx_killmoney_maxmoney""16000")

        
    register_event("DeathMsg""Event_DeathMsg""a")

        
    g_iMaxPlayers get_maxplayers()
        
    gmsgMoney get_user_msgid("Money")
        
    }

    public 
    Event_DeathMsg()
    {
        new 
    iKiller read_data(DeathMsg_KillerID)
        if( 
    IsPlayer(iKiller) && is_user_connected(iKiller) )
        {
            new 
    iVictim read_data(DeathMsg_VictimID)
            if( 
    iVictim != iKiller )
            {
                
    g_iNewMoney clamp
                            

                                
    cs_get_user_money(iKiller) + get_pcvar_numcs_get_user_team(iVictim) == cs_get_user_team(iKiller) ? g_pCvarTkMoney : (read_data(DeathMsg_IsHeadshot) ? g_pCvarKillMoneyHs g_pCvarKillMoney) ), 
                                
    0
                                
    get_pcvar_num(g_pCvarMaxMoney)
                            )
                
    g_iMsgHookMoney register_message(gmsgMoney"Message_Money")
            }
        }
    }

    public 
    Message_Money(iMsgIdiMsgDestid)
    {
        
    unregister_message(gmsgMoneyg_iMsgHookMoney)
        
    cs_set_money_value(idg_iNewMoney)
        
    set_msg_arg_int(Money_AmountARG_LONGg_iNewMoney)



    Zapraszam na BHZ-GAME.PL
    Odpowiedz z cytatem  
     

Podobne wątki

  1. plugin na wiecej spawn
    By jertih in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 02-09-2010, 16:13
  2. Problem z dodaniem kasy
    By iceman_css in forum HLDS2 czyli serwer dla CS Source
    Odpowiedzi: 1
    Ostatni post / autor: 16-06-2010, 23:50
  3. Dodawanie kasy
    By andrzejmleczko in forum HLDS2 czyli serwer dla CS Source
    Odpowiedzi: 8
    Ostatni post / autor: 02-01-2010, 00:56
  4. Konto na Tserwery.pl - Tanio! Dużo Kasy!
    By kpx1304 in forum Hosting serwerów gier
    Odpowiedzi: 1
    Ostatni post / autor: 11-12-2009, 20:34
  5. Przywracanie statsów,kasy itp
    By M@t!Z in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 3
    Ostatni post / autor: 24-10-2009, 07:59
  6. Plugin więcej Krwi
    By ~NN in forum Koncert Życzeń DM
    Odpowiedzi: 14
    Ostatni post / autor: 22-04-2009, 10:00
  7. Plugin - Wiecej krwi.
    By oggloc in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 5
    Ostatni post / autor: 14-02-2009, 13:51
  8. Przelewanie kasy
    By Fruti in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 12
    Ostatni post / autor: 24-09-2008, 07:28

Odwiedzający znaleźli tę stronę szukając:

plugin daj kase

większa kasa za killa kod do pluginu

plugin vip dodawanie kasy

Uprawnienia umieszczania postów
  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •