SA-MP Forums Archive
Mysql problem, HELP. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mysql problem, HELP. (/showthread.php?tid=437253)



Mysql problem, HELP. - PaulDinam - 14.05.2013

I got this error on the logs... and nothing works.
[00:34:56] [INFO] Now logging: errors
[00:35:06] [INFO] Now logging: errors


Re: Mysql problem, HELP. - Kwarde - 14.05.2013

Oh off course! I know exactly what is wrong! #sarcasm
What about showing atleast the MYSQL in your script? I mean, this is almost the same like "Help I have a problem" and nothing more then that


Re: Mysql problem, HELP. - PaulDinam - 14.05.2013

What is the problem about the sql?
nothing.

pawn Код:
stock CreatePlayerAccount(playerid)
{
    format(query, sizeof(query), "INSERT INTO `users` (name, password, cash, sex, playerIP) VALUES ('%s', '%s', %d, %d, '%s')",GetEscapeName(playerid), GetStringVar(playerid, "Password"), 0, PlayerInfo[playerid][pSex], GetPlayerIP(playerid));
    mysql_function_query(dbHandle, query, true, "OnPlayerCreateAccount", "d", playerid);
    return 1;
}