Strange error.
#5

pawn Код:
//Error line 1:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `accounts` (Nick, Password, Admin_Level, Money, Score, VIP, License, Wanted_Level, Police_Stats, Trucker_Loads, Convoys, Police_Fines, Police_Jailed, Pilot_Flights, Meters_Driven, IP) VALUES('%s', '%s', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.0', '%s')",
Name,
pInfo[playerid][Password],
pInfo[playerid][AdminLevel],
pInfo[playerid][Money],
pInfo[playerid][Score],
pInfo[playerid][VIP],
pInfo[playerid][TruckerLicense],
pInfo[playerid][WantedLevel],
pInfo[playerid][PoliceStats],
pInfo[playerid][StatsTruckerJobs],
pInfo[playerid][StatsConvoyJobs],
pInfo[playerid][StatsPoliceFined],
pInfo[playerid][StatsPoliceJailed],
pInfo[playerid][StatsPilotJobs],
pInfo[playerid][StatsMetersDriven],
mysql_tquery(mysql, query, "OnAccountRegister", "i", playerid);


//Error line 2:
cache_get_field_content(0, "Password", pInfo[playerid][Password], mysql, 129);

//Error line 3:
printf("%s", pInfo[playerid][Password]);

//Error Line 4:
pInfo[playerid][Password] =  0;
Errors are only in those lines where there is pInfo[playerid][Password]
There are other lines too but all have pInfo[playerid][Password] variable.
Reply


Messages In This Thread
Strange error. - by iOxide - 20.06.2014, 08:41
Re: Strange error. - by Laurey - 20.06.2014, 08:45
Re: Strange error. - by iOxide - 20.06.2014, 08:48
Re: Strange error. - by AiRaLoKa - 20.06.2014, 08:49
Re: Strange error. - by iOxide - 20.06.2014, 09:00
Re: Strange error. - by Golf - 20.06.2014, 09:03
Re: Strange error. - by iOxide - 20.06.2014, 09:05
Re: Strange error. - by Threshold - 20.06.2014, 09:19
Re: Strange error. - by Tuntun - 20.06.2014, 09:22
Re: Strange error. - by iOxide - 20.06.2014, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)