Cmd in the dialog error
#6

Here's the entire command

COMMAND:vikendica(playerid, params [])
{
ShowPlayerDialog(playerid, DIALOG_VIKENDICA, DIALOG_STYLE_LIST, "Vikendica Sistem", "Otkljucaj\nZakljucaj\nProdaj igracu", "Odaberi", "Odustani");
return 1;
}

Here is the Dialog:


if(dialogid == DIALOG_VIKENDICA)
{
if(!response) return SendClientMessage(playerid,-1,"Odustali ste");
{
switch(listitem)
{
case 0:
{
SendClientMessage(playerid, -1, "Zakljucali ste vikendicu");
return 1;
}
case 1:
{
SendClientMessage(playerid, -1, "Otkljucali ste vikendicu");
return 1;
}
case 2:
{
SendClientMessage(playerid, -1, "Prodaj igracu");
return 1;
}
}
}
}
Reply


Messages In This Thread
Cmd in the dialog error - by sanel007 - 05.05.2013, 13:14
Re: Cmd in the dialog error - by Neil. - 05.05.2013, 13:21
Re: Cmd in the dialog error - by sanel007 - 05.05.2013, 15:24
Re: Cmd in the dialog error - by MattyG - 05.05.2013, 16:53
Re: Cmd in the dialog error - by Pottus - 05.05.2013, 16:59
Re: Cmd in the dialog error - by sanel007 - 06.05.2013, 00:11

Forum Jump:


Users browsing this thread: 4 Guest(s)