Jump to content
  • 0

Trouble with gear spawned in a crate


bFe

Question

1 answer to this question

Recommended Posts

  • 0

Hello!

I'm having some trouble with my crate. I have added stuff to spawn in the crate but when I get ingame to test it all i see are 50x M240 and M249 mags, nothing else.

Here is the code for the box: http://pastebin.com/Yv7dqdpN

 

What did I do wrong?

The only thing I see .. It looks like the _amountAmmo 

 

 

Your looks like this

 

  1. _this addMagazineCargo ["ItemSodaPepsi", _amountAmmo];
 
 Try doing this 
  1. _this addMagazineCargo ["ItemSodaCoke", 10];   <<<(add the amount you want)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...