mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
21 lines
390 B
Plaintext
21 lines
390 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: veteran29
|
|
* Check if the player can check his own ammo.
|
|
*
|
|
* Arguments:
|
|
* 0: Player <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Can check ammo for self <BOOL>
|
|
*
|
|
* Example:
|
|
* [player] call ace_reload_fnc_canCheckAmmoSelf
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_player"];
|
|
|
|
_player call CBA_fnc_canUseWeapon && {!((vehicle _player) isKindOf "StaticWeapon")}
|