11.07.2015, 16:27
your code:
it should be like:
Edited Code:
Код:
`Score`=%d WHERE `ID`=%d" " pInfo[playerid][ID], pInfo[playerid][Score]"
Код:
" pInfo[playerid][Score], pInfo[playerid][ID]"
Код:
mysql_format(mysql, query, sizeof(query), "UPDATE `players` SET `Admin`=%d, `VIP`=%d, `Reputation`=%d, `posX`=%f, `posY`=%f, `posZ`=%f, `Score`=%d WHERE `ID`=%d", pInfo[playerid][Admin], pInfo[playerid][VIP], pInfo[playerid][Reputation], pos[0], pos[1], pos[2], pInfo[playerid][Score], pInfo[playerid][ID]);