Age Registration not updating
#1

Hi! I recently added Age in my server but somehow i can't make it work. (not update in my sql) Here's my script. Thanks for your help!

Quote:

if (dialogid == DIALOG_AGE)
{
if (!response) return Kick(playerid);

if (strval(inputtext) < 7)
{
ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, "Age", "{FF0000}Invalid Age. Your age must be 7 and up\n{FFFFFF}Please enter your age.", "Submit", "Quit");
return 0;
}

Player[playerid][Age] = strval(inputtext);
}

Reply
#2

Show us your SQL code, or the code that's calling the function that saves the SQL.
Reply
#3

Nvm Jack, got it fixed. thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)