Thank you gman it worked perfectly I just had to change the barrel init to nul = this addAction ["Take Jerrycan", "jerrycan.sqf",[],0,false]; it didnt work the other way.
---------- Post added at 10:03 PM ---------- Previous post was at 09:18 PM ----------
Just wondering how to put in a global variable? or how can I make it so there is just one or two jerrycans in there?