24.05.2013, 18:20
Playing audio streams with a volume parameter:
Tested and it works.
pawn Код:
stock PlayStream(playerid, url[], volume = 100)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
PlayAudioStreamForPlayer(playerid, url, x, y, z + volume, volume + 10, 1);
return 1;
}