ACE3/TO_MERGE/cse/main/equipment/functions/fn_hasItem.sqf

11 lines
259 B
Plaintext
Raw Normal View History

2015-01-12 22:35:40 +00:00
/**
* fn_hasItem.sqf
* @Descr: Check if unit has item
* @Author: Glowbal
*
* @Arguments: [unit OBJECT, item STRING (Classname of item)]
* @Return: BOOL
* @PublicAPI: true
*/
// item classname in items unit
((_this select 1) in items (_this select 0));