or this way:

Code:
if(mouse_left)
{
    snd_play(SND_FINAL, 100, 0);
    while(mouse_left) wait(1);
}




3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB