[MySQL] Problem with numbers
#1

Hi guys, I've got a little problem with saving numbers into MySQL...
I have simple script for players profile... I have dialog with options and one of them is Set Age...
Код:
Dialog_SetAge(playerid, response, inputtext[])
{
	// Just close the dialog if the player clicked "Cancel"
	if(!response) return 1;

	// Setup player variables
	format(PVar[playerid][pAge],3,"%d",inputtext);
//    SavePInfo(playerid);
	return 1;
}
Problem is somewhere in this dialog because a strange numbers going from there. I put in the dialog for example number 15 and it saves it as 53 for example. Do you know where is the problem ? O

Sorry for my English
Reply


Messages In This Thread
[SOLVED] [MySQL] Problem with numbers - by scuess - 11.08.2011, 12:12
Re: [MySQL] Problem with numbers - by Sascha - 11.08.2011, 12:14
Re: [MySQL] Problem with numbers - by scuess - 11.08.2011, 12:19
Re: [MySQL] Problem with numbers - by scuess - 11.08.2011, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)