Play Stream when close to object
#1

Fixed
Reply
#2

pawn Код:
PlayAudioStreamForPlayer(playerid, link, X, Y, Z, Distance, 1);
You should use that instead of Stopping and re-playing.
When ever playerid is near the boom box, the song will continue, instead of re-playing.
Reply
#3

Quote:
Originally Posted by Stinged
Посмотреть сообщение
pawn Код:
PlayAudioStreamForPlayer(playerid, link, X, Y, Z, Distance, 1);
You should use that instead of Stopping and re-playing.
When ever playerid is near the boom box, the song will continue, instead of re-playing.
What if the URL changes? And I need it to happen for everyone in the server.
Reply
#4

Loop.
Reply
#5

Is there any way to create a sphere around an object when it is made?
Reply
#6

pawn Код:
CreateDynamicSphere(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1);
Reply
#7

fixed
Reply
#8

Quote:
Originally Posted by ******
Посмотреть сообщение
Don't remove the question if you got your answer - other people can't search for the same thing in the future. Put it back.

I had the same question
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)