Clarentavious 0 Posted May 16, 2003 Ok, I am trying to have a chopper (like an Mi24 for example) that only carries 30mm rounds. I can't do this by limiting the ammo bar near the fuel and health lines because that brings down the 30mm too (and I want that at full capacity). Let's say I named my chopper "goub" I tried loweing the ammo bar to nothing, then putting in the initialization line goub ammo "30mm Cannon" 500 That didn't work. I'm using 1.46 for the moment. I know OFP code fairly well, but I'm not expert on it. Can someone help? What would be the correct way to limit the ammo? Share this post Link to post Share on other sites
Harnu 0 Posted May 16, 2003 You can try: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this removeweapon "HellfireLauncherHind"; this removeweapon "Rocket57x64"<span id='postcolor'> Putting that in it's init field or putting this in: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeallweapons this; this addmagazine "MachineGun30"; this addweapon "MachineGun30"<span id='postcolor'> Share this post Link to post Share on other sites