20.10.2017, 08:58
PHP код:
ShowPlayerDialog(playerid, dialogid, style, Caption[], info[], button1[], button2[])
PHP код:
under OnDialogResponse
if(dialogid == 1)
{
if(response)
{
SendClientMessage(playerid, -1, "You have pressed the first button");
return 1;
}
else
{
//now whatever you write below will be show on pression first button
SendClientMessage(playerid, -1, "You have pressed the second button");
}
}