12.02.2014, 17:07
(
Последний раз редактировалось newbienoob; 12.02.2014 в 17:49.
)
Streaming an audio with PlayAudioStreamForPlayer causes lag/fps drops or game freezes for some people. So it'd be nice if Kalcor could fix that. Also make a few changes to it?
EDIT: Hide the ugly audio stream message by default.
pawn Код:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0)
/*
At url[] parameter, we can choose between url of the audio or file of the audio in scriptfiles to play. Example:
PlayAudioStreamForPlayer(playerid, "www.audio.com/music.mp3");
PlayAudioStreamForPlayer(playerid, "scriptfiles/music.mp3");
*/