Quote:
Originally Posted by ConnorW
You can also do the dialog as a select list instead of input.
pawn Код:
ShowPlayerDialog(playerid, GENDER_DIALOG_ID, DIALOG_STYLE_LIST, "Select your gender", "Male\nFemale", "Select", "Close");
//OnDialogReponse switch(dialogid) { case GENDER_DIALOG_ID: { if(response) { switch(listitem) { case 0: PlayerInfo[playerid][Gender] = 1; //player is a male case 1: PlayerInfo[playerid][Gender] = 2; //player is a female } } } }
|
yeah, i know that.
but i want to do it with an input dialog