Jump to content
Sign in to follow this  
Undeceived

How to remove certain number of items from a vehicle / crate?

Recommended Posts

This might be a stupid question, but I somehow can't find a solution for it! :D

I have a vehicle in which I have put some weapons and stuff. Now I want to remove a certain number of FirstAidKits from this vehicle (10).

But... There's no removeItemCargo command. There only is clearItemCargo, which remove ALL items. But I want other items (scopes, etc.) to stay in the vehicle. I only want to get rid of 10 damn FirstAidKits. :D

Any idea? :o

Thanks for your patience and time! :)

Share this post


Link to post
Share on other sites

Here is this line, not sure if it works within vehicles:

this removeItems "FirstAidKit";

Should it work, it should remove any items that have the classname of "FirstAidKit".

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  

×