PHP Code:
#include <sourcemod>
#include <WeaponHandling>
public void WH_OnReloadModifier(int client, int weapon, L4D2WeaponType weapontype, float &speedmodifier)
{
switch (weapontype)
{
case L4D2WeaponType_Pumpshotgun, L4D2WeaponType_PumpshotgunChrome: speedmodifier = speedmodifier * 1.25; // 25% faster reload
case L4D2WeaponType_Autoshotgun, L4D2WeaponType_AutoshotgunSpas: speedmodifier = speedmodifier * 1.25; // 25% faster reload
}
}
OK I tried this but it doesnt compile, how to get it to compile to play around with reload values in the game? i also had the weaponhandling plugin installed.
__________________