I wanted to make an ammo indicator for my game.So I added this in the HUD.ini:
Code: Select all
[pistol_shell]
type = numeric
framex = 10
framey = 10
indicatoroffsetx = 14
indicatoroffsety = 500
font = 7
width = 3
displaytime = 30
[shotgun_shell]
type = numeric
framex = 10
framey = 10
indicatoroffsetx = 14
indicatoroffsety = 500
font = 7
width = 3
displaytime = 30
[rifle_shell]
type = numeric
framex = 10
framey = 10
indicatoroffsetx = 14
indicatoroffsety = 500
font = 7
width = 3
displaytime = 30
[10mm_shell]
type = numeric
framex = 10
framey = 10
indicatoroffsetx = 14
indicatoroffsety = 500
font = 7
width = 3
displaytime = 30
[disk]
type = numeric
framex = 10
framey = 10
indicatoroffsetx = 14
indicatoroffsety = 500
font = 7
width = 3
displaytime = 30
I want when I choose a weapon it's ammo status to show only.How can I fix this?