23.12.2011, 00:39
i get this error
here is dialog
Код:
error 001: expected token: ";", but found "}"
Код:
if(dialogid == 158)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, COLOR_RED, "Incorrect! Kicked");
Kick(playerid)
}
if(listitem == 1)
{
SendClientMessage(playerid, COLOR_RED, "Incorrect! Kicked");
Kick(playerid);
}
if(listitem == 2)
{
SendClientMessage(playerid, COLOR_WHITE, "Correct! Moving on!");
ShowPlayerDialog(playerid, 159, DIALOG_STYLE_LIST, "What is the proper use of advert?","I selling good stuff\nSelling a new Landstalker for 15 grand.\nI selling sex /pm me","Choose","Leave");
}
}
}

