Weapon/Item Storage

I was playing the Arma 2 role play and say that you could store your items in the trucks/cars or helicopters and i know some lua but i am not skilled where i could make this so i am putting up a request for it because i think it would be a fairly good idea.