Function
Slow
Weapon:SetSoundFireLastBullets
Sound when firing with only having X remaining bullets in the magazine, useful for last shot 'ping' or sound when low on bullets
Syntax
my_weapon:SetSoundFireLastBullets(sound_asset_path, remaining_bullets_count = 1)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
sound_asset_path
|
SoundPath | — | — |
remaining_bullets_count
optional
|
integer | 1 |
The amount of remaining bullet to start playing this sound |