17.12.2020, 11:46
You can override the built-in alert function:
Code:
// Start creating listeners
for (var i in AudioTable) {
CreateListeners(AudioTable[i].address,AudioTable[i].url);
}
var alertfn = alert;
alert = function(text) {
Play_Audio("/user/audio1.mp3");
alertfn(text);
};
});