08.01.2013, 17:40
In addition to PlayAudioStreamForPlayer(playerid, url[], Float: posX = 0.0, Float: posY = 0.0, Float: posZ = 0.0, Float: distance = 50.0, usepos = 0)
AttachPlayerAudioStreamToVehicle(playerid, vehicleid)
AttachPlayerAudioStreamToPlayer(playerid, toplayerid)
AttachPlayerAudioStreamToObject(playerid, objectid)
AttachPlayerAudioStreamToPlayerObject(playerid, objectid)
IsPlayerStreamingAudio(playerid)
I guess steams need to be recalculated ever very often anyways (due to when you move away form the source), so i guess it can also be attached (as it just requires a moving coordinate); If the object/player/vehicle is not streamed, do not hear the music.
AttachPlayerAudioStreamToVehicle(playerid, vehicleid)
AttachPlayerAudioStreamToPlayer(playerid, toplayerid)
AttachPlayerAudioStreamToObject(playerid, objectid)
AttachPlayerAudioStreamToPlayerObject(playerid, objectid)
IsPlayerStreamingAudio(playerid)
I guess steams need to be recalculated ever very often anyways (due to when you move away form the source), so i guess it can also be attached (as it just requires a moving coordinate); If the object/player/vehicle is not streamed, do not hear the music.


