ondialogresponse help
#3

Correct is this:
PHP код:

if(dialogid == SONG_DIALOG

    if(
response
    {
            if(
listitem== 0PlayAudioStreamForPlayer(playerid"http://xsfserver.com/music/Gangnam.mp3"); 
            if(
listitem== 1PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/sPartyRocking.mp3"); 
            if(
listitem== 2PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Sexy.mp3"); 
            if(
listitem== 3PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/CountingStars.mp3"); 
            if(
listitem== 4PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LetItRock.mp3"); 
        
    } 
    return 
1

Reply


Messages In This Thread
ondialogresponse help - by xTURBOx - 18.09.2015, 14:25
Re: ondialogresponse help - by rappy93 - 18.09.2015, 14:36
Re: ondialogresponse help - by Mister0 - 18.09.2015, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)