27.09.2015, 14:05
Hey there,
I got a business system based on MYSQL, however I can't seem to get one thing working
If I use the top one I get "callback parameter count does not match format specifier length", However I figured I should try and remove the string from my callback (the forward, actual callback and this line top.)
I don't think the problem is in rest of my code but those specified lines. Don't know how to make it work, is it simply not possible or am I doing something wrong ?
Btw before asking me to search first, this apparently a duckload of issues causes this error, I checked ~30-40 topics and none of them had same issue as I have.
I got a business system based on MYSQL, however I can't seem to get one thing working
Код:
forward OnBizzCreate(playerid,name[]); public OnBizzCreate(playerid,name[]) { ... } new Na[30]="BlaBla"; mysql_format(mysql,query, sizeof(query), "INSERT INTO bla bla bla"bla,bla); // Not important mysql_tquery(mysql, query, "OnBizzCreate", "ds[30]", playerid,Na);
Код:
forward OnBizzCreate(playerid); public OnBizzCreate(playerid) { ... } mysql_format(mysql,query, sizeof(query), "INSERT INTO bla bla bla"bla,bla); // Not important mysql_tquery(mysql, query, "OnBizzCreate", "d", playerid);
Btw before asking me to search first, this apparently a duckload of issues causes this error, I checked ~30-40 topics and none of them had same issue as I have.