Play Sound just when you have ammo

Yeh, like i wrote up, i wanna that in my game when i press LMB and i have ammo the bge play the shoou sound, when have no ammo don’t, how i can write that in python?
Can i use just the prop instead of script?

thx in advance