All pastes #608420 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-08 08:48 UTC
rendered paste body
if %WEAPON_ITEM 


  if %WEAPON_ITEM <= 5
    if %AMMO > 0
      setCursor #WIDTH / 2, #HEIGHT / 2 - 0.31
      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.31
        setAlign #CENTER, #MIDDLE
        setSize 10, 10
        setColor 1, 1, 0, 1 
        if %WEAK_AMMO > 4
          setColor 0, 1, 0, 1 
        endif
        drawNum %WEAK_AMMO
      endif
    endif
    if %WEAK_AMMO == 0
      if %AMMO == 0
      endif
    endif
  endif

  if %WEAPON_ITEM == 8
    if %AMMO > 0
      setCursor #WIDTH / 2, #HEIGHT / 2 - 0.31
      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.31
        setAlign #CENTER, #MIDDLE
        setSize 10, 10
        setColor 1, 1, 0, 1 
        if %WEAK_AMMO > 4
          setColor 0, 1, 0, 1 
        endif
        drawNum %WEAK_AMMO
      endif
    endif
    if %WEAK_AMMO == 0
      if %AMMO == 0
      endif
    endif
  endif 

  
endif