NikoPalad67140
Member
Hey guys!
I want to create a script that plays a sound once that is then executed after a certain action, for example with landing. Here's my code:
However, when I execute this script, the sound keeps on looping.
I want to create a script that plays a sound once that is then executed after a certain action, for example with landing. Here's my code:
GML:
///@param sound
function playSFX(argument0)
{
audio_stop_sound(argument0);
audio_play_sound(argument0, 100, false);
}