Hello everyone, I'm experiencing difficulties with custom ammoboxes.
I can clear the ammobox without problems and I can also add weapons/ammo with addWeaponCargoGlobal/addMagazineCargoGlobal but sometimes the items within the ammobox seem to bug out for some players on multiplayer. Basically what happens is that some players can not take out some items from the ammobox, even though it is right there. Other players have to take out the items and drop it on the ground for that player to be able to pick it up... so the items are present.
Here's a code exerpt from one ammobox which bugged out last match, this code is in the init section:
clearMagazineCargoGlobal this;
this addMagazineCargoGlobal ["30Rnd_45ACP_Mag_SMG_01", 2];
this addMagazineCargoGlobal ["30Rnd_9x21_Mag", 2];
The items are cleared/added just fine, but sometimes players can not take anything out and it is really puzzling.
Anyone have a clue what may be the problem? anyone had any similar issues?