Salut , am si eu nevoie de putin ajutor. Nush ce {{}sa pun dupa PlayAudioStreamForPlayer, daca se poate sa-mi spune-ti va rog frumos , si sa-mi explicat macar putin ,? public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_RADIO) // This checks to see if the dialog the players viewing is the music player one
{
if(response) // If the player clicked a song
{
if(listitem == 0) // Since this is a list, we check if they clicked the first song on the list.
{
PlayAudioStreamForPlayer(playerid, "http://stream02.slamfm.trueserver.nl:8000/slamfm.m3u"); // Play the song
}
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "http://205.196.123.34/cctcosa4osjg/o1vhayconf16141/Avicii+-+Levels.mp3");
}
}
}
if(dialogid == PmMessage)
{
if(!response) return 0;
new message [128];
new clickedplayer[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
......
} : warning 217: loose indentation Multumesc.