1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00
ACE3/addons/common/functions/fnc_hasItem.sqf
2015-09-19 22:27:23 +02:00

19 lines
268 B
Plaintext

/*
* Author: Glowbal
* Check if unit has item
*
* Arguments:
* 0: Unit <OBJECT>
* 1: Item Classname <STRING>
*
* Return Value:
* has Item <BOOL>
*
* Public: yes
*/
#include "script_component.hpp"
params ["_unit", "_item"];
_item in items _unit // return