[SAMMELTHREAD] Kleine Scripting Fragen

Dein Problem konnte durch einen User gelöst werden? Bedank dich bei ihm indem du seinen Beitrag als Hilfreich markierst sowie einen Daumen oben dalässt
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Ich kenne es auch nicht, dass wenn ich einen gesuchten umbringe, er im Gefängnis landet...
    Aber er will es so:


    Ohne Worte.


    Der Code funktioniert noch immer nicht korrekt, da du den Timer nicht beendest, wenn er die Taste früher loslässt.


    Eddy: Schau dir einfach den Link an den ich oben gepostet habe, das geht auf jeden Fall. ;)
    (http://forum.sa-mp.de/gta-mult…ng-fragen-871#post2078820)

  • Der Code funktioniert noch immer nicht korrekt, da du den Timer nicht beendest, wenn er die Taste früher loslässt.


    Soll er das denn? :huh:


    Dachte, wenn man die Taste drückt, soll der Motor nach 3sek angehen...


    Eddy: Jetzt äußer dich mal :P

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • soll der Motor nach 3sek angehen...

    haut
    Funktioniert alles, wenn ich die Taste zulange gedrückt halte, dann fängt der an zu Spammen :D also der haut den Motor an und aus ^^

    Die Kritik an anderen hat noch keinem die eigene Leistung erspart.

    – Noël Coward

  • dann fängt der an zu Spammen


    Bei mir nicht...dann hast du iwas falsch eingefügt? :huh:


    Wenn dich die Nachrichten stören im Chat, nutze evtl GameTexte oder ein TextDraw :)


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Das stört mich ja nicht, wollte es nur mal gesagt haben :D man hält ja nicht 5 Minuten lang ein und die selbe Taste :P

    Die Kritik an anderen hat noch keinem die eigene Leistung erspart.

    – Noël Coward

  • Jeffry:


    Ich habe gestern Abend ja die Weapon-Config von Slice eingefügt. Doch da hatte ich Probleme mit und sollte den Streamer Updaten, was ich gemacht habe.
    Nur habe ich gerade gemerkt das mein Ingame Mapping Tool nicht mehr funktioniert. Wenn ich ein Objekt verschiebe und die Position speichere, kann ich das Objekt danach nicht mehr editieren weil dort steht das ich schon ein Objekt editiere..


    Mit freundlichen Grüßen
    JustMe.77 8)

  • Hier wie es eigentlich zu sein hat, bei einem Motor. Falls mal wieder jemand auf der Suche nach dem Code ist bevorzugt er wohl einen Code der funktioniert.


    Unter den Includes:
    #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
    #define RELEASED(%0) (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))


    new pressMotorStart[MAX_PLAYERS];


    public OnFilterScriptInit() //bzw. OnGameModeInit
    {
    SetTimer("KeyCheckTimer", 500, true);
    return 1;
    }


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    if(PRESSED(KEY_FIRE))
    {
    pressMotorStart[playerid] = gettime();
    SendClientMessage(playerid, 0xFFFFFFFF, "Motor wird gestartet...");
    }
    else if(RELEASED(KEY_FIRE) && pressMotorStart[playerid] != 0)
    {
    pressMotorStart[playerid] = 0;
    SendClientMessage(playerid, 0xFFFFFFFF, "Ups! Das war zu kurz.");
    }
    }
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    pressMotorStart[playerid] = 0;
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(pressMotorStart[playerid] != 0)
    {
    pressMotorStart[playerid] = 0;
    SendClientMessage(playerid, 0xFFFFFFFF, "Ups! Das war zu kurz.");
    }
    return 1;
    }


    forward KeyCheckTimer();
    public KeyCheckTimer()
    {
    new time = gettime();
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(pressMotorStart[i] != 0)
    {
    if(time - pressMotorStart[i] >= 3)
    {
    pressMotorStart[i] = 0;
    if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
    {
    SendClientMessage(i, 0xFFFFFFFF, "Motor ist an!");
    //Motor hier starten lassen.
    }
    }
    }
    }
    return 1;
    }


    __________________________________________________________


    @[LnD]JustMe.77:
    Erstelle bitte einen Thread und poste die entsprechenden Codes.

  • Woran kann das liegen?


    An einem Klammerfehler oder invaliden Makros:


    #define test# "hi"


    oder


    #define Job ""


    oder


    #define Job


    oder du returnst einen String direkt in einer Funktion:


    stock test() return "hallo";


    oder du überschreibst einen Tag:


    #define bool x


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Nach einem gangfightkill sollte man gespawnt werden aber klappt irgendwie nicht :/


    //Gangwarsystem
    if(IsPlayerConnected(killerid) && killerid != INVALID_PLAYER_ID)
    {
    if(IsAFightFaction(GetPlayerFaction(playerid)))
    {
    new TempZone = GetPlayerFightzone(playerid);
    if(GangwarZones[TempZone][GW_AttackFaction] != -255 && GangwarZones[TempZone][GW_FightTime])
    {
    if(GangwarZones[TempZone][GW_CtfOfOwner][0] == playerid)
    {
    new fsName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fsName,MAX_PLAYER_NAME);
    new fsText[128];
    format(fsText,sizeof(fsText),"Gangfight: %s hat die Flagge verloren! (Gestorben)",fsName);
    for(new i;i<GetMaxPlayers();i++)
    {
    if(IsPlayerConnected(i))
    {
    if(GetPlayerFaction(i) == GangwarZones[TempZone][GW_OwnerFaction] || GetPlayerFaction(i) == GangwarZones[TempZone][GW_AttackFaction])
    {
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    SendClientMessage(i,GW_COLOR_ORANGE,fsText);
    RemovePlayerAttachedObject(i,0);
    }
    }
    }
    DestroyPickup(GangwarZones[TempZone][GW_FlagOfOwner]);
    GangwarZones[TempZone][GW_FlagOfOwner] = CreatePickup(2993,23,GangwarZones[TempZone][GW_CtfOfOwnerx],GangwarZones[TempZone][GW_CtfOfOwnery],GangwarZones[TempZone][GW_CtfOfOwnerz],-1);
    GangwarZones[TempZone][GW_CtfOfOwner][0] = -255;
    GangwarZones[TempZone][GW_CtfOfOwner][1] = 0;
    format(string,sizeof(string),"%s\nAttacker Flagge\nGebiet der Fraktion '%s'\n/startwar",GangwarZones[TempZone][GW_Zone_Name],GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    Update3DTextLabelText(WarLabel[TempZone][0],0x009A1EB2,string);
    }
    else if(GangwarZones[TempZone][GW_CtfOfAttack][0] == playerid)
    {
    new fsName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fsName,MAX_PLAYER_NAME);
    new fsText[128];
    format(fsText,sizeof(fsText),"Gangfight: %s hat die Flagge verloren! (Gestorben)",fsName);
    for(new i;i<GetMaxPlayers();i++)
    {
    if(IsPlayerConnected(i))
    {
    if(GetPlayerFaction(i) == GangwarZones[TempZone][GW_OwnerFaction] || GetPlayerFaction(i) == GangwarZones[TempZone][GW_AttackFaction])
    {
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    SendClientMessage(i,GW_COLOR_ORANGE,fsText);
    RemovePlayerAttachedObject(i,0);
    }
    }
    }
    DestroyPickup(GangwarZones[TempZone][GW_FlagOfAttack]);
    GangwarZones[TempZone][GW_FlagOfAttack] = CreatePickup(2993,23,GangwarZones[TempZone][GW_CtfOfAttackx],GangwarZones[TempZone][GW_CtfOfAttacky],GangwarZones[TempZone][GW_CtfOfAttackz],-1);
    GangwarZones[TempZone][GW_CtfOfAttack][0] = -255;
    GangwarZones[TempZone][GW_CtfOfAttack][1] = 0;
    format(string,sizeof(string),"%s\nDeffender Flagge\nGebiet der Fraktion '%s'\n/startwar",GangwarZones[TempZone][GW_Zone_Name],GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    Update3DTextLabelText(WarLabel[TempZone][1],0x009A1EB2,string);
    }
    }
    }
    if(IsAFightFaction(GetPlayerFaction(killerid)))
    {
    new TempZone = GetPlayerFightzone(killerid);
    if(TempZone != -255)
    {
    if(GangwarZones[TempZone][GW_FightTime] && GangwarZones[TempZone][GW_AttackFaction] != -255)
    {
    if(GangwarZones[TempZone][GW_OwnerFaction] == GetPlayerFaction(killerid) || GangwarZones[TempZone][GW_AttackFaction] == GetPlayerFaction(killerid))
    {
    if(IsAFightFaction(GetPlayerFaction(playerid)))
    {
    new fsText[64];
    if(GangwarZones[TempZone][GW_AttackFaction] == GetPlayerFaction(killerid) && GangwarZones[TempZone][GW_OwnerFaction] == GetPlayerFaction(playerid))
    {
    PlayerPlaySound(killerid,1084,0.0,0.0,0.0);
    GameTextForPlayer(killerid,"~g~GANGWARKILL",6000,5);
    GameTextForPlayer(playerid,"~r~GANGWARKILL",6000,5);
    GangwarZones[TempZone][GW_PointsOfAttack]++;
    Spieler[killerid][pGW_TotalKills]++;
    if(GangwarZones[TempZone][GW_PointsOfOwner] > GangwarZones[TempZone][GW_PointsOfAttack])
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    else if(GangwarZones[TempZone][GW_PointsOfAttack] > GangwarZones[TempZone][GW_PointsOfOwner])
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    else
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    }
    else if(GangwarZones[TempZone][GW_OwnerFaction] == GetPlayerFaction(killerid) && GangwarZones[TempZone][GW_AttackFaction] == GetPlayerFaction(playerid))
    {
    PlayerPlaySound(killerid,1084,0.0,0.0,0.0);
    GangwarZones[TempZone][GW_PointsOfOwner]++;
    if(GangwarZones[TempZone][GW_PointsOfOwner] > GangwarZones[TempZone][GW_PointsOfAttack])
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    else if(GangwarZones[TempZone][GW_PointsOfAttack] > GangwarZones[TempZone][GW_PointsOfOwner])
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    else
    {
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_OwnerFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_WinFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfOwner]);
    TextDrawSetString(GangwarZones[TempZone][GW_WinPoints],fsText);
    format(fsText,sizeof(fsText),"%s",GetFactionNameOfFaction(GangwarZones[TempZone][GW_AttackFaction]));
    TextDrawSetString(GangwarZones[TempZone][GW_LoseFaction],fsText);
    format(fsText,sizeof(fsText),"[%02d]",GangwarZones[TempZone][GW_PointsOfAttack]);
    TextDrawSetString(GangwarZones[TempZone][GW_LosePoints],fsText);
    }
    }
    }
    }
    }
    }
    }
    SpawnPlayerEx();
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen

  • [18:59:16] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
    [18:59:16] <-| [MYSQL] Es wird erneut versucht eine Verbindung zur Datenbank herzustellen!
    [18:59:16] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
    [18:59:16] <-| [MYSQL] Der Server wird nun beendet!

  • [19:18:34]
    [19:18:34] ---------------------------
    [19:18:34] MySQL Debugging activated (05/27/15)
    [19:18:34] ---------------------------
    [19:18:34]
    [19:18:34] >> mysql_connect( )
    [19:18:34] CMySQLHandler::CMySQLHandler() - constructor called.
    [19:18:34] CMySQLHandler::CMySQLHandler() - Connecting to "5.39.74.166" | DB: "samp5290_mvd" | Username: "samp5290" ...
    [19:18:34] CMySQLHandler::Connect() - Can't connect to MySQL server on '5.39.74.166' (111) (Error ID: 2003)
    [19:18:34] >> mysql_ping( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
    [19:18:34] >> mysql_connect( )
    [19:18:34] CMySQLHandler::Connect() - Can't connect to MySQL server on '5.39.74.166' (111) (Error ID: 2003)
    [19:18:34] >> mysql_ping( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )


    ...
    (Hier wiederholt es sich ca. 1000000x, hab ich raus genommen)
    ...


    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] >> mysql_query( Connection handle: 1 )
    [19:18:34] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_store_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
    [19:18:34] >> mysql_retrieve_row( Connection handle: 1 )
    [19:18:34] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] >> mysql_free_result( Connection handle: 1 )
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] CMySQLHandler::~CMySQLHandler() - deconstructor called.
    [19:18:34] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
    [19:18:34] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)
    [19:18:34] CMySQLHandler::~CMySQLHandler() - deconstructor called.

  • [19:18:34] CMySQLHandler::CMySQLHandler() - Connecting to "5.39.74.166" | DB: "samp5290_mvd" | Username: "samp5290" ...
    [19:18:34] CMySQLHandler::Connect() - Can't connect to MySQL server on '5.39.74.166' (111) (Error ID: 2003)


    Entweder die Login-Daten sind falsch oder du hast keinen Zugriff auf die Datenbank (Server down oder keine Berechtigung).