I am trying to manually change the damage values on sweps through the WeaponEquip hook. I managed to change the damage values when I tested it in a think hook but when I do this it doesn’t work:
Do I need to use a different hook?
function GM:WeaponEquip( weapon )
//NEEDS TO BE IN TIMER BECAUSE GETOWNER IS NOT SET UNTIL AFTER THIS HOOK IS CALLED timer.Simple(0, function() local ply = weapon:GetOwner() weapon.Damage = weapon.Damage*1.25 end end)