need help with hud
if %TEAM == #TEAM_ALPHA
setColor 0, 0, 1, 1
drawNum %TEAM_ALPHA_SCORE
endif
if %TEAM == #TEAM_BETA
setColor 0, 0, 1, 1
drawNum %TEAM_BETA_SCORE
endif
need help with the hud i want that, if im beta should be the right color blue and if im alpha should be the left color blue, but it didnt work.
setColor 0, 0, 1, 1
drawNum %TEAM_ALPHA_SCORE
endif
if %TEAM == #TEAM_BETA
setColor 0, 0, 1, 1
drawNum %TEAM_BETA_SCORE
endif
need help with the hud i want that, if im beta should be the right color blue and if im alpha should be the left color blue, but it didnt work.
What I'm seeing is basically code for:
If(Team1)
blue
If(Team2)
blue
If(Team1)
blue
If(Team2)
blue
pryzee wrote:
need help with the hud i want that, if im beta should be the right color blue and if im alpha should be the left color blue, but it didnt work.
pryzee wrote:
yes but every time the left side
I don't understand that. what do you mean with right and left?
maybe you should make a drawing for both cases (playing team alpha and playing team beta).
There's an example of this in the Warsow HUDs.
data0_10.pk3 /huds/inc/clownhud/scores.hud
data0_10.pk3 /huds/inc/clownhud/scores.hud
setAlign 3 1
setCursor #WIDTH / 2, 5
moveCursor -16, 0
setSize 24, 24
setColorToTeamColor %TEAM
if %TEAM == #TEAM_ALPHA
drawNum %TEAM_ALPHA_SCORE
endif
if %TEAM == #TEAM_BETA
drawNum %TEAM_BETA_SCORE
endif
setAlign 1 1
moveCursor 32, 0
setColorToTeamColor %TEAM_ENEMY
if %TEAM == #TEAM_ALPHA
drawNum %TEAM_BETA_SCORE
endif
if %TEAM == #TEAM_BETA
drawNum %TEAM_ALPHA_SCORE
endif

