01.11.2014, 14:03
No its not
its like this -
You can read about switch-case on ******
its like this -
pawn Код:
if(dialogid == SOME_DIALOG)
{
if(response)
{
switch(listitem)
{
case 0://Note the change in this line || listitem starts from 0 || that is if they clicked 1st item of list
{
ShowPlayerDialog( etc. etc....);
}
case 1://Note the change in this line
{
ShowPlayerDialog( etc. etc....);
}
}
}
return 1;
}