MySQL Error ID 1064
#6

This is the section it writes the inital info into the table

Код:
            GetPlayerName(playerid, playername, sizeof(playername)); 
            GetPlayerIp(playerid, playerip, sizeof(playerip)); 
            WP_Hash(Player[playerid][Password], 129, inputtext); 
            mysql_format(mysql, query, sizeof(query), "INSERT INTO `accounts` (`Name`, `Password`, `IP`, `Admin`, `VIP`, `Money`, `PosX`, `PosY`, `PosZ`, `PosA`, `Skin`, `Thirst`, `Hunger`, `Banned`, `Bans`, `Kicks`, `Warns`, `Muted`, `Quests`, `TimeH`, `TimeM`, `Infection`) VALUES ('%e', '%e', '%e', 0, 0, 0, %f, %f, %f, %f, 23, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0)", playername, Player[playerid][Password], playerip, SPAWN_X, SPAWN_Y, SPAWN_Z, SPAWN_A); 

			mysql_format(mysql, query, sizeof(query), "INSERT INTO `accounts` (`Item1`, `Item2`, `Item3`, `Item4`, `Item5`, `Item6`, `Item7`, `Item8`, `Item9`, `Item10`, `Storage`) VALUES (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)"); 
			
            mysql_tquery(mysql, query, "OnAccountRegister", "i", playerid);
Reply


Messages In This Thread
MySQL Error ID 1064 - by theonethatownz - 20.03.2016, 22:01
Re: MySQL Error ID 1064 - by itsCody - 20.03.2016, 22:07
Re: MySQL Error ID 1064 - by theonethatownz - 20.03.2016, 22:14
Re: MySQL Error ID 1064 - by theonethatownz - 20.03.2016, 22:26
Re: MySQL Error ID 1064 - by theonethatownz - 20.03.2016, 22:40
Re: MySQL Error ID 1064 - by theonethatownz - 20.03.2016, 22:44

Forum Jump:


Users browsing this thread: 1 Guest(s)