Okey i used media_loop! But how can i stop it when i realese key!
Quote:
if(key_cuu)
{
my.carEngineTorque = my.car_maxToque;
fps_max = 50; // limit the frame rate to 50 fps
media_loop ("engine.wav", null, 100);
}
Script is here! When i press CUU key sound starts playing but when i realase i need to stop engine sound!!!
And when i press key ENGINE sound starts about 100 and 100 times!
Last edited by HackerL; 11/13/05 21:07.