Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Quack O'Neill

Items Not Showing Up In Inventories

Recommended Posts

I cant add some items to my players Inventories. The face mask shows up in my bag and the open map.sqf works fine, but none of the other items show up in my inventories in game. 

this addAction ["Open Map", "openMap.sqf"]; player addItemToBackpack "G_Respirator_White_F"; player addItemToUniform "Item_Keys"; player addItemToBackpack "Item_FlashDisk"; player addItemToUniform "Item_Laptop_Closed";

I can place a laptop on the ground and pick it up in game and it will show up in the Uniform inventory, but not when its code in the players init. 

Its a singleplayer mission

for a while i was making it in mpmissions and i could add items to my players kit with the init and they would show up when i ran the scenario in SP mode, but wouldnt show up when i ran it in MP mode. So i removed them and carried on building the scenario. but now nothing will show up in the inventories apart from the respirator.

Anyone know whats going on ? 

Share this post


Link to post
Share on other sites

Wrong classnames. It can be a little confusing, as items in inventory can (and generally do) have different classnames than the same item sitting on the ground.

player addItemToUniform "Keys"; player addItemToBackpack "FlashDisk";

I don't think there is an inventory classname/object for the laptop.

  • Like 2

Share this post


Link to post
Share on other sites
Sign in to follow this  

×