04.08.2013, 14:07
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ORIGIN, DIALOG_STYLE_INPUT, ""COLOR_GREY1"Origin Selection", "Please input your country of origin in the box below.",
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ORIGIN, DIALOG_STYLE_INPUT, ""COLOR_GREY1"Origin Selection", "Please input your country of origin in the box below.", "Choose", "Cancel");
EDIT:
I edited your code a bit.. this is how i would do it.
pawn Код:
{
if(response)
{
new age = strval(inputtext);
if(age <= 18 && age >= 80) return ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, ""COLOR_GREY1"Age Selection", "Please input your desired character age in the box below.\n(18-80)", "Select", "Cancel");
PlayerInfo[playerid][pAge] = age;
ShowPlayerDialog(playerid, DIALOG_ORIGIN, DIALOG_STYLE_INPUT, ""COLOR_GREY1"Origin Selection", "Please input your country of origin in the box below.","Choose", "Cancel");
}
else Kick(playerid)
}