Pawn lib stopped working...
#1

This cause problem, idk why!
Код HTML:
	if(dialogid == DIALOG_VIPDODACI)
	{
  		if(!response) return 1;
		switch(listitem)
		{
		    case 0;
		    {
  				//SetPlayerAttachedObject(playerid, 7,18656, 19324, 0.1, 0.038, -0.01, -90, 180, 0, 0.03, 0.1, 0.03);
  				print("RADI");
		    }
		    case 1;
		    {
				print("RADI");
		    }
		    case 2;
		    {
		        print("RADI");
		    }
		    case 3;
		    {
		        print("RADI");
		    }
		    case 4;
		    {
		        print("RADI");
		    }
		    case 5;
		    {
		        print("RADI");
		    }
		}
	}
Command:
Код HTML:
YCMD:stuff(playerid, params[], help)
{
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""LJUB"AG-RP | "BELA"Moras se ulogovati da bi koristio ovu komandu!");
	if (PlayerInfo[playerid][pVIP] >= 1 || PlayerInfo[playerid][pAdmin] >= 1) return SCM(playerid, -1, ""LJUB"AG-RP | "BELA"Samo Vip (Lv1+)");
	{
		SPD(playerid,DIALOG_VIPDODACI, DIALOG_STYLE_LIST, ""LJUB"Vip dodaci", "Lampa\nBaklja\nDildo\nVes masina\nLaser\nBankomat", "Odaberi", "Izlaz");
	}
	return 1;
}



DIALOG IS DEFINED WELL...
Reply
#2

First thing i noticed is that you have used semi-colons ';' instead of colons ':' for your cases.

Код:
case 1;
Should be
Код:
case 1:
Reply
#3

Oh didn't noticed that haha thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)