Question Incognito's Audio Include
#1

Ok so in my GM I have this:
pawn Код:
if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
    {
        new Float:x;
        new Float:y;
        new Float:z;
        GetPlayerPos(playerid,x,y,z);
        for (new i = 0; i != MAX_PLAYERS; ++i)
        {
            if (IsPlayerConnected(i))
            {
                if(IsPlayerInRangeOfPoint(i, 200, x, y, z))
                {
                    SendClientMessage(i, COLOR_RED, "Button Held");
                    mystream[playerid] = Audio_PlayStreamed(i, "http://k007.kiwi6.com/hotlink/t9tqfo1q1p/air_horn.mp3", false, true, true);
                    Audio_Set3DPosition(i, mystream[playerid], x, y, z, 200.0);
                }
            }
        }
    }
It's supposed to play the sound when they push the Key_Fire button, but no sound is heard (It never plays the sound, no matter how long I press it). I DO get the Button Held Message, so whats wrong?

Thanks in advance: jakejohnsonusa

PS: I will +1 Rep. those that help (for those of you who care about Rep's)
Reply


Messages In This Thread
Question Incognito's Audio Include - by jakejohnsonusa - 26.01.2013, 18:55
Re: Question Incognito's Audio Include - by MP2 - 26.01.2013, 19:13
Re: Question Incognito's Audio Include - by jakejohnsonusa - 26.01.2013, 19:20
Re: Question Incognito's Audio Include - by FUNExtreme - 26.01.2013, 19:30
Re: Question Incognito's Audio Include - by jakejohnsonusa - 26.01.2013, 19:32
Re: Question Incognito's Audio Include - by FUNExtreme - 26.01.2013, 19:37
Re: Question Incognito's Audio Include - by jakejohnsonusa - 26.01.2013, 19:39
Re: Question Incognito's Audio Include - by FUNExtreme - 26.01.2013, 19:52
Re: Question Incognito's Audio Include - by jakejohnsonusa - 26.01.2013, 19:55
Re: Question Incognito's Audio Include - by Scrillex - 26.01.2013, 20:24

Forum Jump:


Users browsing this thread: 5 Guest(s)