error 017: undefined symbol "mysql_query"
#1

Tutorial: https://sampforum.blast.hk/showthread.php?tid=159785
Plugin: https://sampforum.blast.hk/showthread.php?tid=56564

I'm new to this and wanted to use a tutorial to make the registration system, but I got this error and when I searched, it was updated to "mysql_function_query", but I don't know much as I just started. Can someone update my code so it compiles?

Quote:
Originally Posted by BlueG
View Post
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... ) *
Code:
error 017: undefined symbol "mysql_query"
pawn Code:
public OnGameModeInit()
{
    mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
    mysql_query("CREATE TABLE IF NOT EXISTS stats(user VARCHAR(24), password VARCHAR(24), cash INT(8), IP VARCHAR(16) )");
    return 1;
}
Reply
#2

Have you downloaded R7+? You have to use threaded queries if you did so.
Reply
#3

Quote:
Originally Posted by Calabresi
View Post
Have you downloaded R7+? You have to use threaded queries if you did so.
Yeah, I'm asking how I can do that with these
Reply
#4

If you don't know anything about threaded queries, then stick with R6. Threaded queries are more advanced and will require more work/effort than you seem like you want to give.
Reply
#5

or read this; https://sampforum.blast.hk/showthread.php?tid=337810
Reply
#6

Thanks
Reply
#7

THIS! can help you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)