19.07.2014, 16:07
Hey guys,
Got a problem with my code.
Enum:
Database:

Why does that warning appear in the logs?
Greetz
Got a problem with my code.
Код:
stock LoadBiz() { new idx, result[200]; format(result, 128, "SELECT * FROM `bizdata`"); mysql_query(result); mysql_store_result(); while(mysql_fetch_row_format(result, "|")) { sscanf(result, "p<|>{i}is[60]s[23]iiffffffii",data[idx]); idx ++; BIZ++; } mysql_free_result(); printf(" ->> %d Biz's loaded!",BIZ); }
Код:
sscanf warning: Format specifier does not match parameter count. [18:31:41] sscanf warning: Format specifier does not match parameter count. [18:31:41] ->> 2 Biz's loaded!
Код:
/* b_id,//uniqu. id b_name[64],//name b_owner[32],//own b_buyprice, //bp b_owned,// Float:b_enterposx,// Float:b_enterposy,// Float:b_enterposz, Float:b_exitposx, Float:b_exitposy, Float:b_exitposz, b_int,//interior, b_vw//vw */

Why does that warning appear in the logs?
Greetz