Posts: 1,779
Threads: 126
Joined: Oct 2010
Quote:
Originally Posted by Emmet_
Playing audio streams with a volume parameter:
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; }
Tested and it works.
|
Very nice !