Mysql problem, HELP.
#3

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;
}
Reply


Messages In This Thread
Mysql problem, HELP. - by PaulDinam - 14.05.2013, 21:34
Re: Mysql problem, HELP. - by Kwarde - 14.05.2013, 21:36
Re: Mysql problem, HELP. - by PaulDinam - 14.05.2013, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)