number of arguments does not match definition
#9

Sorry for the bump.
I got another tutorial, but I got this problem, very weird - it claims that 'mysql_fetch_query' is undefined and every other time I use this it is defined, means it's only 'undefined' in that special callback.
pawn Код:
public MySQL_Start(){
    s_MySQL = mysql_connect(MySQL_HOST,MySQL_USER,MySQL_DB,MySQL_PASS);
    if(!s_MySQL)
        return print("Could not connect to database, check the settings again");
    else {
        mysql_function_query(s_MySQL,
            "CREATE TABLE IF NOT EXISTS `accounts` (\
                `id` int(11) NOT NULL, AUTO_INCREMENT,\
                `sUser` varchar(25) NOT NULL, \
                `sPass` varchar(25) NOT NULL, \
                `sSkin` int(11) NOT NULL, \
                `sMoney` int(11) NOT NULL, \
                `sBank` int(11) NOT NULL, \
                `sBanned` int(11) NOT NULL, \
                `sBannedReason` varchar(25) NOT NULL, \
                `sBannedBy` varchar(25) NOT NULL, \
                `sPlayingHours` int(11) NOT NULL, \
                PRIMARY KEY(`id`)\
            )"
,false,"s@MySQL_Start","s","accounts");
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)