PHP Code:
include <sourcemod>
#include <WeaponHandling>
public void WH_OnReloadModifier(int client, int weapon, L4D2WeaponType weapontype, float &speedmodifier)
{
switch (weapontype)
{
case L4D2WeaponType_Pumpshotgun: speedmodifier = speedmodifier * 1.25; // 25% faster reload
case L4D2WeaponType_Autoshotgun: speedmodifier = 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.
__________________