error 035: argument type mismatch (argument 1)
#1

Whats wrong?,

pawn Код:
mysql_function_query(Query);
Reply
#2

pawn Код:
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... );
BlueG's examples:
pawn Код:
mysql_function_query(connectionHandle, "UPDATE `foo` SET `bar` = 1", false, "CustomResponse", "dsf", 1337, "string", 1.5634);

public CustomResponse(integer, string[], Float:float)
{
    printf("Query successful executed. Data: %d | %s | %f", integer, string, float);
    return 1;
}
Reply
#3

Quote:
Originally Posted by maramizo
Посмотреть сообщение
pawn Код:
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... );
BlueG's examples:
pawn Код:
mysql_function_query(connectionHandle, "UPDATE `foo` SET `bar` = 1", false, "CustomResponse", "dsf", 1337, "string", 1.5634);

public CustomResponse(integer, string[], Float:float)
{
    printf("Query successful executed. Data: %d | %s | %f", integer, string, float);
    return 1;
}
Im new with MYSQL so if you can tell somting about it would be better.
Reply
#4

bump help please
Reply
#5

i suggest you to use mysql_tquery
Код:
new connection = mysql_connect(.....)
new query[255];
mysql_format(connection,query,sizeof(query),"UPDATE `foo` SET `bar` = 1");
mysql_tquery(connection,query,"Test","s","Query successful");

public Test(message[])
{
    printf("%s",message);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)