04.06.2015, 08:56
Код:
format(query,sizeof(query),"UPDATE players SET " \ "Level = %d , " \ "Hours = %d , " \ "Minutes = %d , " \ "Checks = %d , " \ "Admin = %d , " \ "Helper = %d , " \ "Donator = %d , " \ "Health = %d , " \ "Armor = %d , " \ "Money = %d , " \ "Bank = %d , " \ "Sandwiches = %d , " \ "Hotdogs = %d , " \ "Apples = %d , " \ "Sodas = %d , " \ "Skin = %d , " \ "Accent = '%s' , " \ "X = %f , " \ "Y = %f , " \ "Z = %f , " \ "Angle = %f , " \ "Faction = '%d' , " \ "`Faction rank` = %d , " \ "`Faction division` = %d , " \ "`Faction leader` = %d , " \ "Prisons = %d , " \ "Warnings = %d , " \ "Kicks = %d , " \ "`Temp.Bans` = %d , " \ "`Perm.Bans` = %d " \ "WHERE Username = '%s'",
Код:
(763) : error 075: input line too long (after substitutions) (764) : error 037: invalid string (possibly non-terminated string) (764) : warning 215: expression has no effect (764) : error 001: expected token: ";", but found "`" (764) : error 029: invalid expression, assumed zero (764) : fatal error 107: too many error messages on one line
Код:
/*Line 763*/"`Faction division` = %d , " \ /*Line 764*/"`Faction leader` = %d , " \