17.04.2012, 19:38
(
Последний раз редактировалось Nuke547; 17.04.2012 в 21:42.
)
Fixed.
Query(UPDATE accounts SET group = 1 WHERE name = 'Billy_Bob') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group = 1 WHERE name = 'Billy_Bob'' at line 1)
format(query, sizeof(query), "UPDATE `accounts` SET group = '%d' WHERE name = '%s'", value, GetName(playerid));