OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Serial Killer on 25 Feb 2005, 21:12:07
-
How can I add weapons, ammo, etc. to my own addons? I mean like an ammo box, you can collect weapons and ammo from it, I don't mean units.. Thanks in advance!
Ps. It's wonderful day, everything is going fine and I made my first addon ;D ;)
-
Allright, one of my friends helped me, here's the config. You can add weapons and ammo to your own addon with that...
class TransportWeapons
{
class M16
{
weapon="M16";
count=1
};
};
class TransportMagazines
{
class M16
{
magazine="M16";
count=3
};
};
There's one problem.. Is that Count the quantity of weapons and ammo?
Ps: Sorry that I'm asking things like this.. I'm creating my first addon, that's why :-\
-
Yes, I do believe that count means the number of weapons or magazines carried.
Planck