Page 1 of 1

Old cs 1,5 gun switch.

Posted: 2013 Apr 17 14:48
by fastas00
Sveiki, man reiktu plugino , kad kai keitiesi gun jis pasikeistu labai , greitai tesiog galima sakyti kad nebutu animacijos, zinau kad toks pluginas egzistuoja ne viename serverije esu matesm, tik gaila pavadinimo nezinau :(

Re: Old cs 1,5 gun switch.

Posted: 2013 Apr 17 15:00
by newb
Quake Style Switch
This plugins brings back the old feature from CS1.5 times. When you switch between your weapons really fast - you don't see the switch animation.

Re: Old cs 1,5 gun switch.

Posted: 2013 Apr 17 15:01
by fastas00
aciu !!

Re: Old cs 1,5 gun switch.

Posted: 2013 Apr 17 15:32
by Trickas
newb, o neišeitų/negalėtum padaryt, kad ne tik nebūtų animacijos, bet, kad pvz pakeitus ginklą iškart ir galėtum šaudyt ar mest he, nu nebūtų ten to intarpo 1-2sek. ?

Re: Old cs 1,5 gun switch.

Posted: 2013 Apr 17 15:48
by newb
Nemano kodas ir netikrinau ar veikia

Code: Select all

#include < amxmodx >#include < fakemeta >#include < hamsandwich > const m_flNextPrimaryAttack = 46;const m_flNextSecondaryAttack = 47;const m_flTimeWeaponIdle = 48; public plugin_init( ){    new szWeaponName[ 32 ];    for( new i = 1; i <= CSW_P90; i++ )    {        if( get_weaponname( i, szWeaponName, charsmax( szWeaponName ) ) )        {            RegisterHam( Ham_Item_Deploy, szWeaponName, "FwdWeaponDeployPost", 1 );        }    }} public FwdWeaponDeployPost( iEntity ){    set_pdata_float( iEntity, m_flNextPrimaryAttack, 0.0 );    set_pdata_float( iEntity, m_flNextSecondaryAttack, 0.0 );    set_pdata_float( iEntity, m_flTimeWeaponIdle, 0.0 );}