core.plugins.mining.weapons.cityrp_hardwood_pickaxe.shared
Hardwood Pickaxe.
- SharedSWEP:OnSwingHit(ply, trace)Source ☍
-
Give the hit its view punch, and on a deposit its hit effect and rock sounds.
Parameters
- plyPlayerThe player swinging the pickaxe.
- tracetableThe swing's trace result.
- SharedSWEP:PlayHitSound()Source ☍
-
Play the pickaxe's own clink, quiet enough to sit under the rock impact layered over it, varying the sample and pitch per swing.