Server Closed Connection u Dialogu

Započeo David17, Oktobar 10, 2022, 18:53:31 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Imam problem kada na dialogu odaberem opciju "Odustani" da me jednostavno kickuje
Deo skripte: [pawn]if(playertextid == MenuTD[playerid][51])
   {
      ShowPlayerDialog(playerid, DIALOG_MP3, DIALOG_STYLE_LIST, "Radio", "BalkanDJ\nOkej radio\nVIP radio", "Odaberi", "Odustani");
      return true;
   }
//////////////////
if(dialogid == DIALOG_MP3)
   {
      if(!response) return 1;
      if(response)
      {
         switch(listitem)
         {
            case 0: { PlayAudioStreamForPlayer(playerid, "http://balkan.dj.topstream.net:8070"); }
            case 1: { PlayAudioStreamForPlayer(playerid, "http://live3.okradio.net:8002"); }
            case 2: { PlayAudioStreamForPlayer(playerid, "http://vip128.streaming.rs:8110/"); }
         }
      }
   }[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn][/pawn]
Slika/video ingame problema(obavezno ako je ingame problem):
It's Showtime


Sledeci put sam lockaj, postoji opcija... Lock...