Funzione
Lento
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
Non ancora tradotto
Sintassi
my_weapon:SetSoundFireLastBullets(sound_asset_path, remaining_bullets_count = 1)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
sound_asset_path
|
SoundPath | — | — |
remaining_bullets_count
facoltativo
|
integer | 1 |
The amount of remaining bullet to start playing this sound |