Try this:
1. Make a trigger, name it
W1 in the "name" field (not the "text" field.)
2. Type in the following spells in the "On Activation" field of your trigger:
W="weaponholder" createVehicle getpos W1This would put an invisible "ammo crate" (
) to the centre of yer trigger named W.
3. But ya also need to add the codes for yer type of weapon.... and thus: more spells to the trigger.
Put some more spells into the "On Activ." field of the trigger...
The full set of commands looks like this :
W="WeaponHolder" createVehicle Getpos W1; W addMagazineCargo ["M16",4]; W addWeaponCargo ["M16",1]
Right, that'll do, I hope!
(did I type any bugs up there?)