Quote:
Originally Posted by Facerafter
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ORIGIN, DIALOG_STYLE_INPUT, ""COLOR_GREY1"Origin Selection", "Please input your country of origin in the box below.",
You did not finished the line.
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) }
|
I have tried that, made me get a bunch of errors.
error 001: expected token: ",", but found ";" look there, mate.'
Nevermind, probably solved. Standby.