<aside> 📦 BARLIB.acs

</aside>

<aside> âš¡ void DrawNormalAmmo(void)

</aside>

Usage


This function will begin drawing the ammo numbers for the primary ammo of the weapon, without needing to specify a standard bar for it.

This is primarily useful if you’re using [DrawCustomBar](<https://mm8bdm.notion.site/DrawCustomBar-c036f3e3d7764251807d5d76626801f4>), as that does not natively support ammo numbers like drawing normal and secondary bars do.

Example


This ScriptBar script will draw only ammo numbers for the primary and secondary ammo of the weapon, but offset as if there were two bars between the ammo numbers and the HP bar.

script "DrawBar_InvisibleBarWep" (void) {
	SetInventory("SBARAmmoOffset",2);
  DrawNormalAmmo();
  DrawSecondAmmo();
}

See Also


DrawSecondAmmo