24.03.2015, 19:55
(
Последний раз редактировалось ReD_HunTeR; 27.03.2015 в 14:13.
)
solved :/
mysql_format(mysql, query, sizeof(query), "SELECT Username FROM players WHERE IP = %s", IP[targetid]);
mysql_format(mysql, query, sizeof(query), "SELECT `Username` FROM players WHERE IP = '%s'", IP[targetid]);
cash = cache_get_field_content_int(row, "Cash", mysql);
PlayerInfo[playerid][cash] = cache_get_field_content_int(row, "Cash", mysql);
mysql_format(mysql, query, sizeof(query), "SELECT * FROM `players` WHERE `Username` = '%s' LIMIT 1", name); mysql_tquery(mysql, query, "GetInfoOfPlayer", "d", playerid);