02.06.2016, 16:52
This would be better:
PHP код:
Player[playerid][Score] = GetPlayerScore(playerid);
Player[playerid][Money] = GetPlayerMoney(playerid);
mysql_format(mysql, query, sizeof(query), "UPDATE `accounts` SET Money='%d',Score='%i',PosX`='%f',PosY='%f',PosZ='%f',PosA='%f' WHERE ID='%d'", Player[playerid][Money], Player[playerid][Score], pos[0], pos[1], pos[2], pos[3], Player[playerid][ID]);