Jump to content
  • 0

Problema loose indentation


i7.

Question

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.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.