<aside> 📦 BARLIB.acs

</aside>

<aside> âš¡ void DrawBarColor(int cyan, int blue)

</aside>

Usage


Used to draw an ammo bar with the given palette colors. It uses the weapon’s primary ammo to determine how much of the bar to draw.

Parameters

Example


This is a simple ScriptBar script that uses this function to draw its bar.

script "DrawBar_SparkScatterWep" (void) {
	DrawBarColor(4, 229);
}

See Also


DrawBarColorGlow

DrawBar2Color

DrawBar2ColorGlow