PlayAudioStreamForAll
#7

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
I can't tell you a solution without your updated code!
Please post the code you have now.

If you want the player to choose a song, be sure to format the string with choices or the inputtext of the dialog.
PHP код:
stock PlayAudioStreamForAll(url[])
{
    for(new 
ii<GetMaxPlayers(); i++)
    {
        if(
IsPlayerConnected))
        {
            
PlayAudioStreamForPlayer(iurlxyzdistance);
        }
    }
    return 
1;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == DIALOG_MUSIC)
    {
        if(
response)
        {
            
PlayAudioStreamForAll(url);
        }
                return 
1;
    } 
error 017: undefined symbol "x" - the line of the stock
error 017: undefined symbol "url" - the function that i mentioned right now.


I don't want a specific song or a list of some. I want the player to put any link he want.
I guessed that I should format the string but I need some help on doing this!
Reply


Messages In This Thread
PlayAudioStreamForAll - by eldar7393 - 12.04.2013, 14:01
Re: PlayAudioStreamForAll - by Denying - 12.04.2013, 14:02
Re: PlayAudioStreamForAll - by Pottus - 12.04.2013, 14:04
Re: PlayAudioStreamForAll - by Jstylezzz - 12.04.2013, 14:06
Re: PlayAudioStreamForAll - by eldar7393 - 12.04.2013, 14:10
Re: PlayAudioStreamForAll - by Jstylezzz - 12.04.2013, 14:28
Re: PlayAudioStreamForAll - by eldar7393 - 12.04.2013, 14:42
Re: PlayAudioStreamForAll - by Jstylezzz - 12.04.2013, 15:17
Re: PlayAudioStreamForAll - by eldar7393 - 12.04.2013, 15:20
Re: PlayAudioStreamForAll - by Denying - 12.04.2013, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)