22.02.2013, 19:44
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?
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:
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;
}