Jump to content
Anteq Iney

Help! Checking for item in inventory and dressed!

Recommended Posts

Hello,
I need a condition that will check the presence or absence of a mask in inventory or weared
My script:

if !(('Mask_M40' in (items player)) || ('Mask_M40' in (assigneditems player))) then {};
'Mask_M40' in (items player)

is working

 'Mask_M40' in (assigneditems player)

Is not working
Please help!

Share this post


Link to post
Share on other sites
3 hours ago, Anteq Iney said:

Is not working

 

assigneditems only returns (copy from wiki): [<Map>, <Compass>, <Watch>, <Radio>, <GPS>, <NVG>, <Binoculars>]

 

my guess is you need goggles for the mask or headgear

  • Thanks 1

Share this post


Link to post
Share on other sites
9 minutes ago, gc8 said:

 

assigneditems only returns (copy from wiki): [<Map>, <Compass>, <Watch>, <Radio>, <GPS>, <NVG>, <Binoculars>]

 

my guess is you need goggles for the mask or headgear

Yes, goggles is working, thank you very much!

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

×