Jump to content
Sign in to follow this  
d3lta

Finding a item in Ammobox

Recommended Posts

Hi masters,

How I search a item (Cobalt_file) in a ammobox?

I tried getWeaponCargo, but I'm failing.....

Best regards

D3lta

Share this post


Link to post
Share on other sites

_contents = getWeaponCargo _crate; // where _crate is the ammobox

_weps = _contents select 0;

if ("Cobalt_File" in _weps) then

{

hint "File is in this crate";

};

useful link about these items

Edited by Lifted86

Share this post


Link to post
Share on other sites

Great!!!! Very Thanks Lifted86 !!

Best regards.

D3lta

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×