22.09.2018, 20:58
Код:
#define MAX_CNAME 5; clanData[playerid][cd_cLeader] = 1; format(clanData[playerid][cd_cName], MAX_CNAME, "%s", inputtext); mysql_format(gGameConnection, Query, sizeof(Query), "UPDATE `accounts` SET (`cname`, `cleader`) VALUES ('%e', '%i') WHERE `name` = '%e';", inputtext, clanData[playerid][cd_cLeader], ReturnPlayerName(playerid)); mysql_tquery(gGameConnection, Query);