16.10.2011, 03:03
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Registration", "Enter your password to register", "Ok", "Leave");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response)
{
// Do something
}
else
{
Kick(playerid);
}
}
return 0;
}