14.05.2013, 21:52
What is the problem about the sql?
nothing.
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;
}