06.12.2013, 21:59
Код:
forward SendAudioToPlayer(playerid, audioid, volume, seek); public SendAudioToPlayer(playerid, audioid, volume, seek) { if(IsPlayerConnected(playerid)) { if(Audio_IsClientConnected(playerid)) { new localhandle = Audio_Play(playerid,audioid,false,false,false); Audio_SetVolume(playerid, localhandle, volume); Audio_Seek(playerid, localhandle, seek); } else { return 0; } } return 1; }