RSSy MYGO.pl Opublikowano Maj 31, 2022 o 20:41 RSSy Udostępnij Opublikowano Maj 31, 2022 o 20:41 Back in the day Bugsy made this: https://forums.alliedmods.net/showth...highlight=draw HTML Code: #include <amxmodx> #include <hamsandwich> #include <fakemeta> new const Version[] = "0.1"; const m_pPlayer = 41; const m_flNextAttack = 83; new g_IgnoreWeapons = ( 1 << CSW_C4 ); public plugin_init() { register_plugin( "Instant Shoot on Pickup" , Version , "bugsy" ); new szWeapon[ 20 ]; for ( new iWeapon = CSW_P228 ; iWeapon <= CSW_P90 ; iWeapon++ ) { if ( !( g_IgnoreWeapons & ( 1 << iWeapon ) ) && get_weaponname( iWeapon , szWeapon , charsmax( szWeapon ) ) ) { RegisterHam( Ham_Item_Deploy , szWeapon , "ItemDeploy_Post" , true ); } } } public ItemDeploy_Post( iWeaponEntity ) { set_pdata_float( get_pdata_cbase( iWeaponEntity , m_pPlayer , 4 ) , m_flNextAttack , 0.0 ); } scout and awp are not included in the plugin. Anyone care to add them, please? Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi