I used 'unit ammo "pipebomb"'. That returns 0 for a OFP-generated BlackOp. But if I remove his pipebombs and the pipebomb-"weapon" and add it again, I have two entries for the pipebombs in my actionmenu. If I add the ammo before the weapon 'unit ammo "pipebomb"' returns the 1 as I want it to be.