14.02.2015, 00:59
Change this...
The spot that was causing you issues was
You had ' instead of ` (Cant thing of what they are called atm....)
pawn Код:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players' (`Username`,`Password`,`IP`,`Color`) VALUES ('%e', '%s', '%s', -1)",GetName(playerid),pInfo[playerid][Password],IP[playerid]);
//to this
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players` (`Username`,`Password`,`IP`,`Color`) VALUES ('%e', '%s', '%s', -1)",GetName(playerid),pInfo[playerid][Password],IP[playerid]);
pawn Код:
`players'
//it needs to be
`players`