Jump to content
Sign in to follow this  
PLRSniper

Bis please add a function to count ammo in crates.

Recommended Posts

A few days ago i posted a question abot this...

I need to count the ammount of ammo inside a truck's ammo cargo...

It's part of my mega big poject that i've been working on...

(It will be like The Chain Of Command mod but i will try to make a more detailed version... othervise it will be diffrent anyway...

So what i need is a command that returns a Number...

Object CountAmmoCargo "Ammo"

Description: Counts ammount of ammunition of the given type inside a crates/vehicles AmmoCargo...

Object:  Vehicle or crate

Type:  A magazine (available types in Appendix X: Magazines)

Example:   My5TonTruck CountAmmoCargo "HandGrenade"

Thanks in advance...  //PLRSniper

[EDIT]   The diffrent POOL commands doesn't seem to do the trick... or im just too stupid to figure out how  wink.gif

[Another Edit] The command may be CountMagazineCargo instead of AmmoCargo... Or it would maybe conflict with AmmoCargo??? I didn't check it... smile.gif

Share this post


Link to post
Share on other sites

Well since i dont work at all right now i have a kind of problem with time.... tounge.gif

What day is it??? Hmm gotta look it up... ah MONDAY!!!

Usually the worst day of them all!

well well... Let's continue testing weaponpool....

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  

×