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!
  • AoM avatar
    AoM username pic Joined 13y ago
    Modboy Dev Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    66,836 points Ranked 61st
    48 medals 7 legendary 12 rare
    • 10 years a member Medal icon
    • Created a Mod Installer Medal icon
    • Achieved Admin clearance Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • Became a Ripe Supporter Medal icon
    • Returned 5000 times Medal icon
    AoM avatar
    AoM
    Modboy Dev
    access_time 1mo
    Please also list your contribution in the credits/authors list.
    Thar be snow. avatar
    Mantra
    Thar be snow.
    URL to post:

Embed

Andel banner
Billede URL
HTML indlejr kode
BB indlejr kode
Markdown indlejr kode

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
  • 283
  • 3
  • 2mo
  • 1mo

More from Submitter

More AMX/X Scripts Scripts