23.12.2016, 21:46
I have the latest plugin and includes, I added the files to audiopacks and added it as well to audio.ini. Still not working. No sound comes up. Here's my code
PHP код:
new LoginAudio; // Global Variable added after #defines
new ZombieAudio; // Global Variable added after #defines
LoginAudio = Audio_Play(playerid, 2); // Under OnPlayerConnect
Audio_Stop(playerid, LoginAudio); //Under OnPlayerSpawn
ZombieAudio = Audio_Play(playerid, 1); // After Audio_Stop(playerid, LoginAudio)
Audio_Stop(playerid, ZombieAudio); // Under OnPlayerDisconnect