mysql_query; argument type mismatch
#1

pawn Код:
new query[200];
    format(query, sizeof(query), "SELECT FULLNAME from `accounts` WHERE fullname = '%s'", GetPlayersName(playerid));
    mysql_query(query);
error on mysql_qeury(query); line
Reply
#2

Which plugin do you use?

If you are using R33+ MySQL plugin, it could be:
pawn Код:
mysql_query(conhandle, query); // change "conhandle" to your connection handle..
Also check this out https://sampwiki.blast.hk/wiki/MySQL/R33
Reply
#3

Quote:
Originally Posted by HyperZ
Посмотреть сообщение
Which plugin do you use?

If you are using R33+ MySQL plugin, it could be:
pawn Код:
mysql_query(conhandle, query); // change "conhandle" to your connection handle..
Also check this out https://sampwiki.blast.hk/wiki/MySQL/R33
Thanks, fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)