i am working on a recharge code and am useing morrowing as an example, i have the recharge and panels all working ok, and i wrote this bit of code as a small test, what should happen is the charge goes back to 0 and a sound should play, but neither happens, could someone point out were i`ve gone wrong please
Code:

function beam_weapons
{
if ((mouse_left == 1) && (player.phaser == 70))
{
player.phaser = 0;
snd_play (beam_wav, 50, 0);
}
}




Why does everyone like dolphins? Never trust a species which smiles all the time!