ACE3/TO_MERGE/cse/main/equipment/functions/fn_hasItem.sqf
2015-01-12 23:35:40 +01:00

11 lines
259 B
Plaintext

/**
* 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));