new model = strval(inputtext);
if (model != 412 || model != 547 || model != 566 || model != 482)
{
ShowPlayerDialog(playerid,78,DIALOG_STYLE_MSGBOX,"SYS AUTO","Неверная модель!","OK","");
return 1;
}
switch(model)
{
case 412,547,566,482: ShowPlayerDialog(playerid,78,DIALOG_STYLE_MSGBOX,"SYS AUTO","Верная!","OK","");
default: ShowPlayerDialog(playerid,78,DIALOG_STYLE_MSGBOX,"SYS AUTO","Неверная модель!","OK",""); return 1;
}