All pastes #608320 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-08 06:10 UTC
rendered paste body
if %WEAPON_ITEM 
  if %AMMO > 0
    setCursor #WIDTH / 2, #HEIGHT / 2 - 0.28
    setAlign #CENTER, #MIDDLE
    setSize 10, 10 
    setColor 1, 0, 0, 1
    drawNum %AMMO
  endif
  if %AMMO == 0
    if %WEAK_AMMO > 0 
        setCursor #WIDTH / 2, #HEIGHT / 2 - 0.34
        setAlign #CENTER, #MIDDLE
        setSize 10, 10
        setColor 0, 1, 0, 1  
        drawNum %WEAK_AMMO
    endif
  endif  
  if %WEAK_AMMO == 0
      if %AMMO == 0
      endif
  endif
endif