Beiträge von BigBozZxX

    [16:04:28] >> mysql_real_escape_string( Connection handle: 1 )
    [16:04:28] CMySQLHandler::EscapeString() - You cannot call this function now. (Reason: Dead Connection)
    [16:04:28] >> mysql_query( Connection handle: 1 )
    [16:04:28] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [16:04:28] >> mysql_store_result( Connection handle: 1 )
    [16:04:28] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [16:04:28] >> mysql_num_rows( Connection handle: 1 )
    [16:04:28] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)
    [16:04:28] >> mysql_retrieve_row( Connection handle: 1 )
    [16:04:28] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [16:04:28] >> mysql_fetch_field_row( Connection handle: 1 )
    [16:04:28] CMySQLHandler::FetchField(id) - You cannot call this function now. (Reason: Connection is dead)
    [16:04:28] >> mysql_free_result( Connection handle: 1 )
    [16:04:28] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)


    jetzt kommt das von anfang an :(

    soll ich alles auf mysql_query(2, Query); ändern



    wenn ja kommen diese fehler
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16284) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16289) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16294) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16299) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16304) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16309) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16314) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16319) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16324) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16329) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16334) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16339) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(16343) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(50952) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(50966) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(50975) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(50989) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(51018) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(51032) : error 035: argument type mismatch (argument 1)
    C:\Users\Admin\Desktop\NaMe oF LiFe\gamemodes\Nol.pwn(51603) : error 035: argument type mismatch (argument 1)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    21 Errors.


    das kommt wenn ich auf dem server joine
    aber oben ist der schon verbunden



    stock mysql_CheckAccount(playerid)
    {
    new Query[128],Name[MAX_PLAYER_NAME],count;
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    mysql_real_escape_string(Name, Name);
    format(Query, sizeof(Query), "SELECT * FROM `accounts` WHERE `Name` = '%s'", Name);
    mysql_query(Query);
    mysql_store_result();
    count = mysql_num_rows();
    mysql_free_result();
    return count;
    }