02.08.2012, 11:11
You have a case out of the random. This needs to be inside a switch statement instead, and yes, nested switch statements are perfectly fine.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 0:
{
if(response)
{
switch(listitem)
{
}
}
}
case 1:
{
// ...
}
}
}