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: Max Payne Zoom

Pokaż wyniki od 1 do 7 z 7
  1. #1 Max Payne Zoom 
    Starsza lamka
    Dołączył
    Sep 2008
    Posty
    33
    Siemka Mam pytanko czy dalby ktos rade edytowac ten plugin zeby z kazdej broni jak strzele Head'a to bedzie ten zoom?
     

  2. #2 Odp: Max Payne Zoom 
    Super Mod Awatar seba
    Dołączył
    Jun 2007
    Wiek
    4
    Posty
    13,379
    Kod php:
    #include <amxmodx>
    #include <fakemeta>
    #include <engine>
    #include <cstrike>

    #define PLUGIN    "Max Payne Zoom"
    #define AUTHOR    "genesis"
    #define VERSION   "1.2"
    #define CNAME      "MPZ"

    public plugin_init()
    {
          
    register_plugin(PLUGINVERSIONAUTHOR)
        
    register_cvar(CNAMEVERSIONFCVAR_SERVER)

        
    register_forward(FM_PlayerPreThink"forward_playerprethink"

        
    register_event("DeathMsg","MPZ_eventDeath","a")
        
    register_event("CurWeapon","handle_gun","be","1=1")

        
    register_cvar("MPZ_velocity""2000"// recommend setting around 6000 set sv_maxvelocity to 6000 as well
        
    register_cvar("MPZ_active""1"// set to zero = no zooming at all(supercedes all others)
        
    register_cvar("MPZ_zoomOnHS""1"// set to one = only zoom on hs's
        
    register_cvar("MPZ_awp""1")
        
    register_cvar("MPZ_scout""1")
    }

    public 
    plugin_precache()
    {
        
    precache_model("models/shell.mdl")
    }

    public 
    MPZ_eventDeath()
    {

        new 
    theKiller read_data(1)
        new 
    headshot read_data(3)

        if(!
    theKiller) return PLUGIN_CONTINUE

        
    if(!get_cvar_num("MPZ_active")) return PLUGIN_CONTINUE
        
        
    if(get_cvar_num("MPZ_zoomOnHS"))
        {
            if(!
    headshot) return PLUGIN_CONTINUE
        
    }
        
        new 
    FloatOrigin[3], FloatVelocity[3], FloatvAngle[3], Ent
        
        entity_get_vector
    (theKillerEV_VEC_origin Origin)
        
    entity_get_vector(theKillerEV_VEC_v_anglevAngle)
                
        
    Ent create_entity("info_target")

        if(!
    is_valid_ent(Ent))
            return 
    FMRES_IGNORED

        entity_set_string
    (EntEV_SZ_classname"MPZ_chaser")
        
    entity_set_model(Ent"models/shell.mdl")
                
        new 
    Float:MinBox[3] = {-1.0, -1.0, -1.0}
        new 
    Float:MaxBox[3] = {1.01.01.0}
        
    entity_set_vector(EntEV_VEC_minsMinBox)
        
    entity_set_vector(EntEV_VEC_maxsMaxBox)
        
    entity_set_float(EntEV_FL_gravity0.01)
                
        
    entity_set_origin(EntOrigin)
        
    entity_set_vector(EntEV_VEC_anglesvAngle)
                
        
    entity_set_int(EntEV_INT_effects2)
        
    entity_set_int(EntEV_INT_solid1)
        
    entity_set_int(EntEV_INT_movetype10)
        
    entity_set_edict(EntEV_ENT_ownertheKiller)
                
        
    VelocityByAim(theKillerget_cvar_num("MPZ_velocity"), Velocity)
        
    entity_set_vector(EntEV_VEC_velocity ,Velocity)
                  
        
    attach_view(theKillerEnt)
        return 
    PLUGIN_CONTINUE
    }

    public 
    vexd_pfntouch(pToucherpTouched
    {
        new 
    szClassName[32]

        if ( 
    pToucher 0
        {
            if(!
    is_valid_ent(pToucher))
                return 
    PLUGIN_CONTINUE

            entity_get_string
    (pToucherEV_SZ_classnameszClassName31)
        }
      
        if(
    equal(szClassName"MPZ_chaser")) 
        {
                new 
    oid entity_get_edict(pToucherEV_ENT_owner)
                
    attach_view(oidoid)
                
    remove_entity(pToucher)
        }
        
        return 
    PLUGIN_CONTINUE

    Graczu CS'a, coś dla Ciebie...

    serwer CS - Puchatek 4FuN - IP: 193.33.176.104:27015
    nowy adres IP - nowa jakość - koniecznie zapisz nowy adres IP!

    ... jeżeli Ci mało, więcej znajdziesz na Puchatkowych serwerach


     

  3. #3 Odp: Max Payne Zoom 
    Starsza lamka
    Dołączył
    Sep 2008
    Posty
    33
    ok zaraz sprawdze:):P

    Edit: Nie dziala nawet teraz jak z AWP pociagne:/
    Ostatnio edytowane przez pyzatka ; 29-06-2009 o 10:38
     

  4. #4 Odp: Max Payne Zoom 
    Super Mod Awatar seba
    Dołączył
    Jun 2007
    Wiek
    4
    Posty
    13,379
    Kod php:
    #include <amxmodx>
    #include <engine>

    #define PLUGIN    "Max Payne Zoom"
    #define AUTHOR    "genesis"
    #define VERSION   "1.2"

    public plugin_init()
    {
          
    register_plugin(PLUGINVERSIONAUTHOR)

        
    register_event("DeathMsg","MPZ_eventDeath","a")

        
    register_cvar("MPZ_velocity""2000"// recommend setting around 6000 set sv_maxvelocity to 6000 as well
    }

    public 
    plugin_precache()
    {
        
    precache_model("models/shell.mdl")
    }

    public 
    MPZ_eventDeath()
    {
        new 
    theKiller read_data(1)

        if(!
    theKiller) return PLUGIN_CONTINUE
        
        
    new FloatOrigin[3], FloatVelocity[3], FloatvAngle[3], Ent
        
        entity_get_vector
    (theKillerEV_VEC_origin Origin)
        
    entity_get_vector(theKillerEV_VEC_v_anglevAngle)
                
        
    Ent create_entity("info_target")

        if(!
    is_valid_ent(Ent))
            return 
    PLUGIN_CONTINUE

        entity_set_string
    (EntEV_SZ_classname"MPZ_chaser")
        
    entity_set_model(Ent"models/shell.mdl")
                
        new 
    Float:MinBox[3] = {-1.0, -1.0, -1.0}
        new 
    Float:MaxBox[3] = {1.01.01.0}
        
    entity_set_vector(EntEV_VEC_minsMinBox)
        
    entity_set_vector(EntEV_VEC_maxsMaxBox)
        
    entity_set_float(EntEV_FL_gravity0.01)
                
        
    entity_set_origin(EntOrigin)
        
    entity_set_vector(EntEV_VEC_anglesvAngle)
                
        
    entity_set_int(EntEV_INT_effects2)
        
    entity_set_int(EntEV_INT_solid1)
        
    entity_set_int(EntEV_INT_movetype10)
        
    entity_set_edict(EntEV_ENT_ownertheKiller)
                
        
    VelocityByAim(theKillerget_cvar_num("MPZ_velocity"), Velocity)
        
    entity_set_vector(EntEV_VEC_velocity ,Velocity)
                  
        
    attach_view(theKillerEnt)
        return 
    PLUGIN_CONTINUE
    }

    public 
    vexd_pfntouch(pToucherpTouched
    {
        new 
    szClassName[32]

        if ( 
    pToucher 0
        {
            if(!
    is_valid_ent(pToucher))
                return 
    PLUGIN_CONTINUE

            entity_get_string
    (pToucherEV_SZ_classnameszClassName31)
        }
      
        if(
    equal(szClassName"MPZ_chaser")) 
        {
                new 
    oid entity_get_edict(pToucherEV_ENT_owner)
                
    attach_view(oidoid)
                
    remove_entity(pToucher)
        }
        
        return 
    PLUGIN_CONTINUE

    Graczu CS'a, coś dla Ciebie...

    serwer CS - Puchatek 4FuN - IP: 193.33.176.104:27015
    nowy adres IP - nowa jakość - koniecznie zapisz nowy adres IP!

    ... jeżeli Ci mało, więcej znajdziesz na Puchatkowych serwerach


     

  5. #5 Odp: Max Payne Zoom 
    Starsza lamka
    Dołączył
    Sep 2008
    Posty
    33
    Cytat Zamieszczone przez seba Zobacz posta
    Kod php:
    #include <amxmodx>
    #include <engine>

    #define PLUGIN    "Max Payne Zoom"
    #define AUTHOR    "genesis"
    #define VERSION   "1.2"

    public plugin_init()
    {
          
    register_plugin(PLUGINVERSIONAUTHOR)

        
    register_event("DeathMsg","MPZ_eventDeath","a")

        
    register_cvar("MPZ_velocity""2000"// recommend setting around 6000 set sv_maxvelocity to 6000 as well
    }

    public 
    plugin_precache()
    {
        
    precache_model("models/shell.mdl")
    }

    public 
    MPZ_eventDeath()
    {
        new 
    theKiller read_data(1)

        if(!
    theKiller) return PLUGIN_CONTINUE
        
        
    new FloatOrigin[3], FloatVelocity[3], FloatvAngle[3], Ent
        
        entity_get_vector
    (theKillerEV_VEC_origin Origin)
        
    entity_get_vector(theKillerEV_VEC_v_anglevAngle)
                
        
    Ent create_entity("info_target")

        if(!
    is_valid_ent(Ent))
            return 
    PLUGIN_CONTINUE

        entity_set_string
    (EntEV_SZ_classname"MPZ_chaser")
        
    entity_set_model(Ent"models/shell.mdl")
                
        new 
    Float:MinBox[3] = {-1.0, -1.0, -1.0}
        new 
    Float:MaxBox[3] = {1.01.01.0}
        
    entity_set_vector(EntEV_VEC_minsMinBox)
        
    entity_set_vector(EntEV_VEC_maxsMaxBox)
        
    entity_set_float(EntEV_FL_gravity0.01)
                
        
    entity_set_origin(EntOrigin)
        
    entity_set_vector(EntEV_VEC_anglesvAngle)
                
        
    entity_set_int(EntEV_INT_effects2)
        
    entity_set_int(EntEV_INT_solid1)
        
    entity_set_int(EntEV_INT_movetype10)
        
    entity_set_edict(EntEV_ENT_ownertheKiller)
                
        
    VelocityByAim(theKillerget_cvar_num("MPZ_velocity"), Velocity)
        
    entity_set_vector(EntEV_VEC_velocity ,Velocity)
                  
        
    attach_view(theKillerEnt)
        return 
    PLUGIN_CONTINUE
    }

    public 
    vexd_pfntouch(pToucherpTouched
    {
        new 
    szClassName[32]

        if ( 
    pToucher 0
        {
            if(!
    is_valid_ent(pToucher))
                return 
    PLUGIN_CONTINUE

            entity_get_string
    (pToucherEV_SZ_classnameszClassName31)
        }
      
        if(
    equal(szClassName"MPZ_chaser")) 
        {
                new 
    oid entity_get_edict(pToucherEV_ENT_owner)
                
    attach_view(oidoid)
                
    remove_entity(pToucher)
        }
        
        return 
    PLUGIN_CONTINUE


    Dziala ale nie tak jak chcialem:P po kazdym zabiciu jest ten Zoom ale obojetnie jak zabije:/ a ja chcialem tylko przy "HeadShot" xD
     

  6. #6 Odp: Max Payne Zoom 
    Super Mod Awatar seba
    Dołączył
    Jun 2007
    Wiek
    4
    Posty
    13,379
    Tak, wiem, zapomniałem poprawić.
    Kod php:
    #include <amxmodx>
    #include <engine>

    #define PLUGIN    "Max Payne Zoom"
    #define AUTHOR    "genesis"
    #define VERSION   "1.2"

    public plugin_init()
    {
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
        
    register_event("DeathMsg","MPZ_eventDeath","a")
        
        
    register_cvar("MPZ_velocity""2000"// recommend setting around 6000 set sv_maxvelocity to 6000 as well
    }

    public 
    plugin_precache()
    {
        
    precache_model("models/shell.mdl")
    }

    public 
    MPZ_eventDeath()
    {
        new 
    theKiller read_data(1)
        
        if(!
    theKiller || !read_data(3)) return PLUGIN_CONTINUE
        
        
    new FloatOrigin[3], FloatVelocity[3], FloatvAngle[3], Ent
        
        entity_get_vector
    (theKillerEV_VEC_origin Origin)
        
    entity_get_vector(theKillerEV_VEC_v_anglevAngle)
        
        
    Ent create_entity("info_target")
        
        if(!
    is_valid_ent(Ent))
            return 
    PLUGIN_CONTINUE
        
        entity_set_string
    (EntEV_SZ_classname"MPZ_chaser")
        
    entity_set_model(Ent"models/shell.mdl")
        
        new 
    Float:MinBox[3] = {-1.0, -1.0, -1.0}
        new 
    Float:MaxBox[3] = {1.01.01.0}
        
    entity_set_vector(EntEV_VEC_minsMinBox)
        
    entity_set_vector(EntEV_VEC_maxsMaxBox)
        
    entity_set_float(EntEV_FL_gravity0.01)
        
        
    entity_set_origin(EntOrigin)
        
    entity_set_vector(EntEV_VEC_anglesvAngle)
        
        
    entity_set_int(EntEV_INT_effects2)
        
    entity_set_int(EntEV_INT_solid1)
        
    entity_set_int(EntEV_INT_movetype10)
        
    entity_set_edict(EntEV_ENT_ownertheKiller)
        
        
    VelocityByAim(theKillerget_cvar_num("MPZ_velocity"), Velocity)
        
    entity_set_vector(EntEV_VEC_velocity ,Velocity)
        
        
    attach_view(theKillerEnt)
        return 
    PLUGIN_CONTINUE
    }

    public 
    vexd_pfntouch(pToucherpTouched
    {
        new 
    szClassName[32]
        
        if ( 
    pToucher 0
        {
            if(!
    is_valid_ent(pToucher))
                return 
    PLUGIN_CONTINUE
            
            entity_get_string
    (pToucherEV_SZ_classnameszClassName31)
        }
        
        if(
    equal(szClassName"MPZ_chaser")) 
        {
            new 
    oid entity_get_edict(pToucherEV_ENT_owner)
            
    attach_view(oidoid)
            
    remove_entity(pToucher)
        }
        
        return 
    PLUGIN_CONTINUE

    Graczu CS'a, coś dla Ciebie...

    serwer CS - Puchatek 4FuN - IP: 193.33.176.104:27015
    nowy adres IP - nowa jakość - koniecznie zapisz nowy adres IP!

    ... jeżeli Ci mało, więcej znajdziesz na Puchatkowych serwerach


     

  7. #7 Odp: Max Payne Zoom 
    Starsza lamka
    Dołączył
    Sep 2008
    Posty
    33
    no dziala wrescie:) Dzieki Seba a wejdziesz tutaj?:D http://www.forum.wiaderko.com/szukam...ia-tarczy.html
     

Podobne wątki

  1. [RS] Max Payne
    By ~NN in forum Archiwum forum
    Odpowiedzi: 15
    Ostatni post / autor: 01-02-2010, 21:38
  2. Max Payne szukam spolszczenia!
    By Karol741 in forum Problemy techniczne z grami
    Odpowiedzi: 1
    Ostatni post / autor: 15-01-2010, 21:55
  3. [Download][PC] Max Payne 2: The Fall of Max Payne
    By bakul. <3 in forum Archiwum forum
    Odpowiedzi: 9
    Ostatni post / autor: 18-10-2009, 22:20
  4. Max Payne 1 lub 2
    By myszeczka111 in forum Pytania z odpowiedzią
    Odpowiedzi: 1
    Ostatni post / autor: 20-09-2009, 21:06
  5. [Download][PC][RS] Max Payne - Antologia
    By UFC in forum Archiwum forum
    Odpowiedzi: 1
    Ostatni post / autor: 12-09-2009, 16:32
  6. [Download][PC] Max Payne PL
    By .:Legion:. in forum Archiwum forum
    Odpowiedzi: 9
    Ostatni post / autor: 31-08-2009, 11:43
  7. [RS][RIP]Max Payne 1 202mb
    By zulekek in forum Archiwum forum
    Odpowiedzi: 1
    Ostatni post / autor: 24-08-2009, 22:15
  8. [hf] Max Payne Mission: Impossible III (2009)
    By slawek4129 in forum Archiwum forum
    Odpowiedzi: 4
    Ostatni post / autor: 16-07-2009, 17:13

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

cs 1.6 shell.mdl

c 1.6 max payne zoom

max payne cs

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
  •