Skip to content
VN_fnc_empty_click

VN_fnc_empty_click

Checks if weapon ammo is empty, plays an empty sound if it is.

Syntax

[] call VN_fnc_empty_click;

Parameters

ParameterTypeDefaultDescription
_unit ObjectOBJNULL Unit firing the weapon.
_audio String"" Audio to play.

Return value

Boolean - Function reached the end.

Examples

[player, "vn_emptysound"] call vn_fnc_empty_click;

Documented by Ethan Johnson.