VN_fnc_empty_click
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Checks if weapon ammo is empty, plays an empty sound if it is.
Syntax
- Syntax
- [] call VN_fnc_empty_click;
- Parameters
- _unit: Object - (Optional, default
OBJNULL
) Unit firing the weapon. - _audio: String - (Optional, default
""
) Audio to play. - Return value
- Boolean - Function reached the end.
Examples
- Example 1
- [player, "vn_emptysound"] call vn_fnc_empty_click;