Update and Play music with PlayAudioStreamForPlayer.
#1

Just that. Can I play a song when driving? Like update the position and play it when I move.
Reply
#2

You would just play the audio stream to the player and not to a position

Parameters:
pawn Код:
(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
So you would just use:

pawn Код:
PlayAudioStreamForPlayer(playerid, URL, 0, 0, 0, 0, 0);
As easy as that.
Reply
#3

But others can't heard it :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)