Help with audio stream
#1

I want so they are inside the house heard the aduio stream but is not working whats the problem.

pawn Код:
if(PlayerInfo[playerid][pMaskuse] == 1)
                                {
                                    GetPlayerPos(giveplayerid,x,y,z);
                                    if(IsPlayerInRangeOfPoint(giveplayerid,10.0,x,y,z))
                                    PlayAudioStreamForPlayer(giveplayerid,"http://www.fileden.com/files/2012/4/18/3293679/Knocking%20on%20Wooden%20Door%20%20%20Sound%20Effect.mp3",x,y,z,distance,10);
                                    format(string, sizeof(string), "[DOOR] KNOCK!! KNOCK!! (([Stranger_%d]))", maskid);
                                    SendClientMessage(p, COLOR_PURPLE, string);
                                }
                                else
                                {
                                    GetPlayerPos(giveplayerid,x,y,z);
                                    if(IsPlayerInRangeOfPoint(giveplayerid,10.0,x,y,z))
                                    PlayAudioStreamForPlayer(giveplayerid,"http://www.fileden.com/files/2012/4/18/3293679/Knocking%20on%20Wooden%20Door%20%20%20Sound%20Effect.mp3",x,y,z,distance,10);
                                    format(string, sizeof(string), "[DOOR] KNOCK!! KNOCK!! ((%s))", GetPlayerNameEx(playerid));
                                    SendClientMessage(p, COLOR_PURPLE, string);
Reply


Messages In This Thread
Help with audio stream - by N0FeaR - 18.04.2012, 21:30
Re: Help with audio stream - by MP2 - 18.04.2012, 21:40
Re: Help with audio stream - by N0FeaR - 18.04.2012, 22:11
Re: Help with audio stream - by N0FeaR - 18.04.2012, 22:18
Re: Help with audio stream - by SuperViper - 19.04.2012, 04:04

Forum Jump:


Users browsing this thread: 1 Guest(s)