Pawn lib stopped working... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawn lib stopped working... (
/showthread.php?tid=643493)
Pawn lib stopped working... -
maksicnm - 21.10.2017
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...
Re: Pawn lib stopped working... -
iggy1 - 21.10.2017
First thing i noticed is that you have used semi-colons ';' instead of colons ':' for your cases.
Should be
Re: Pawn lib stopped working... -
maksicnm - 21.10.2017
Oh didn't noticed that haha thx