View Single Post
SEGA EMPRESS ERIS
Senior Member
Join Date: Sep 2010
Location: THE-MILKY-WAY-GALAXY
Old 04-10-2021 , 02:34   Re: [L4D2] Shotgun and bolt rifle fire rate and reload modification?
Reply With Quote #8

PHP Code:
include <sourcemod>
#include <WeaponHandling>

public void WH_OnReloadModifier(int clientint weaponL4D2WeaponType weapontypefloat &speedmodifier)
{
    switch (
weapontype)
    {
        case 
L4D2WeaponType_Pumpshotgunspeedmodifier speedmodifier 1.25// 25% faster reload

        
case L4D2WeaponType_Autoshotgunspeedmodifier speedmodifier 1.25// 25% faster reload
    
}

Sweet! got it to work with your suggestion. 1 last thing. Do u know if its possible to make the SPAS-12 Shotgun and Chrome Shotgun fire 1 bullet/pellet as opposed to 9 or so pellets and have sniper/smg/assault rifle accuracy in other words, making it a Slug Ammunition Shotgun?

Thanks.
__________________
SEGA EMPRESS ERIS is offline