PHP код:
if(dialogid == DIALOG_EMAIL)
{
new string[128];
if(!response) return Kick(playerid);
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT,"Email","Enter your E-Mail","Next","Quit");
format(string, sizeof(string), "UPDATE `User` SET `EMAIL`='%i' WHERE `Name`='%s'", inputtext, NamePlayer(playerid));
db_free_result(db_query(Data, string));
ShowPlayerDialog(playerid, DIALOG_SEXO, DIALOG_STYLE_LIST,"Sex","Man\nWoman","Next","Quit");
}
An email is a string. You will need to use '%s'. You should also consider escaping the email address (
Unescaped user input! Beware! A malicious user could easily corrupt your entire user table.