Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

[AMXX] Auto Pistol

A Config Script for Counter-Strike 1.6

No ads for members. Membership is 100% free. Sign up!
30 691 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>

const m_iShotsFired = 64;

public plugin_init()
{
    register_plugin( "Automatic Pistols", "1.0.0", "Arkshine" );
   
    new const weaponIdentifiers[][] =
    {
        "weapon_glock18",
        "weapon_elite",
        "weapon_p228",
        "weapon_usp",
        "weapon_deagle",
        "weapon_fiveseven"
    }

    for( new i = 0; i < sizeof weaponIdentifiers; i++ )
    {
        RegisterHam( Ham_Weapon_PrimaryAttack, weaponIdentifiers[ i ], "Pistols_PrimaryAttack_Pre", false );
    }
}

public Pistols_PrimaryAttack_Pre( const weapon )
{
    set_pdata_int( weapon, m_iShotsFired, -1 );
}
Auto Pistol
Sign up to access this!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Arkshine
scripter

Submitter

Rainbowdash98 avatar
Rainbowdash98 Joined 4y ago
Offline
Rainbowdash98
Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 110
  • 3
  • 11d
  • 2d

More from Submitter

More AMX/X Scripts Scripts