Difference between revisions of "VN fnc empty click"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_weapons_functions |d= <pre>Checks if weapon ammo is empty, plays an empty sound if it is.</pre> |s= [] call VN...") |
(No difference)
|
Latest revision as of 01:13, 5 May 2022
← 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;