2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2019-12-18 17:31:08 +00:00
|
|
|
/*
|
|
|
|
* Author: veteran29
|
|
|
|
* Check if the player can check his own ammo.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Player <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
2023-08-28 17:26:24 +00:00
|
|
|
* Can check ammo for self <BOOL>
|
2019-12-18 17:31:08 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2023-08-28 17:26:24 +00:00
|
|
|
* [player] call ace_reload_fnc_canCheckAmmoSelf
|
2019-12-18 17:31:08 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
params ["_player"];
|
|
|
|
|
2023-12-31 20:00:22 +00:00
|
|
|
_player call CBA_fnc_canUseWeapon && {currentWeapon _player != ""} && {!((vehicle _player) isKindOf "StaticWeapon")}
|