Help with audio stream
#2

1. The parameters for PlayAudioStreamForPlayer are (playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0) - you have the last one set to 10. It should be 1 if you want to play it at certain coordinates. However, I would just use playerid and url if I were you, there's no need to set the position!

2. You can't do

pawn Код:
if(something)
function();
function();
function();
you need to use brackets:
pawn Код:
if(something)
{
    function();
    function();
    function();
}
3. The URL is all messed up with %20 shit.
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)