17.06.2010, 16:40
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
if(dialogid == 1)
{
// do something
printf("PlayerID %d clicked on dialog 1", playerid);
}
}
return 1;
}