04.12.2011, 07:38
PHP код:
if(dialogid == 77)
{
if(response)
{
ShowPlayerDialog(playerid,78,DIALOG_STYLE_INPUT,"MODEL","Введите модель:","OK","CANCEL");
}
}
if(dialogid == 78)
{
if(response)
{
new model = strval(inputtext);
for(new i = 0; i < 8; i++)
{
BallasInfo[i][gModel] = model;
}
SaveBallas();
}
}