Beiträge von Crocky

    Hey Leutz,
    Habe beim WoS Script 2 Fehler :
    Tanksystem :

    • /tanken hört nicht auf.
    • Wenn ich ein Fahrzeug kaufe, sind nach ein Paar sekunden nicht mehr 100 sondern 45 L im tank!


    Haussystem :

    • Zeigt den Bestzer nicht an!


    Code Tanken :
    /tanken Befehl

    Spoiler anzeigen
    if(strcmp(cmd, "/tanken", true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10,1004.0812,-939.4362,42.1797))
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsAtGasStation(playerid))
    {
    if(IsANoTachoVehicle(GetPlayerVehicleID(playerid)))
    {
    SendClientMessage(playerid,COLOR_YELLOW," Du kannst kein Fahrrad betanken!");
    }
    SetTimer("Fillup",RefuelWait,0);
    Refueling[playerid] = 1;
    FreezePlayer(playerid);
    SendClientMessage(playerid,COLOR_WHITE," Dein Fahrzeug wird betankt, Bitte warten....");
    }
    return 1;
    }
    }
    }
    #define RefuelWait 5000
    #define SPRITPREIS 2

    Spoiler anzeigen
    #define CAR_AMOUNT 700 //Change to Your Vehicle Amount
    new Gas[CAR_AMOUNT];

    Spoiler anzeigen
    new Refueling[MAX_PLAYERS];

    Spoiler anzeigen
    #define RefuelWait 5000


    Code Haus :

    Spoiler anzeigen
    //=========================================================[Haus System by K3VIN aka Rapture]=====================================================//
    if(!strcmp(cmdtext, "/hauskaufen", true))
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    if(!HouseInfo[i][hOwned])
    {
    if(GetPlayerMoney(playerid) < HouseInfo[i][hPrice])
    {
    SendClientMessage(playerid, Grey, "Du hast nicht genug Geld!");
    return 1;
    }
    if(PlayerInfo[playerid][pHouseKey] != MAX_HOUSES+1)
    {
    SendClientMessage(playerid, Grey, "Du besitzt bereits ein Haus!");
    return 1;
    }
    format(HouseInfo[i][hOwner], 24, sendername);
    HouseInfo[i][hOwned] = 1;
    UpdateHouseLabel(i);
    PlayerInfo[playerid][pHouseKey] = i;
    GivePlayerMoney(playerid, -HouseInfo[i][hPrice]);
    SendClientMessage(playerid, Grey, "Glückwunsch zum Kauf der Immobilie!");
    SaveHouses();
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmd, "/createhouse", true))
    {
    if(PlayerInfo[playerid][pAdmin] == 1339)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "/CreateHouse [Preis] [Interior Typ ( /interiors )]");
    new housepreis = strval(tmp);
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "/CreateHouse [Preis] [Interior Typ ( /interiors )]");
    new inttype = strval(tmp);
    if(inttype < 1 || inttype > sizeof(Interiors)) return SendClientMessage(playerid, Grey, "Ungültige Interior Typ ID! /interiors");
    inttype -= 1;
    new i = GetHouseID(); if(i == -1) return SendClientMessage(playerid, Grey, "Es kann kein weiters Haus mehr erstellt werden! ( MAX_HOUSES erhöhen )");
    format(string, sizeof string, "/Houses/%d.ini", i);
    dini_Create(string);
    HouseInfo[i][hEntrx] = GetX(playerid);
    HouseInfo[i][hEntry] = GetY(playerid);
    HouseInfo[i][hEntrz] = GetZ(playerid);
    HouseInfo[i][hInt] = Interiors[inttype][interiorid];
    HouseInfo[i][hIntx] = Interiors[inttype][intpx];
    HouseInfo[i][hInty] = Interiors[inttype][intpy];
    HouseInfo[i][hIntz] = Interiors[inttype][intpz];
    HouseInfo[i][hIntid] = inttype;
    HouseInfo[i][hPrice] = housepreis;
    HouseInfo[i][hRentable] = 0;
    HouseInfo[i][hRent] = 50;
    HouseInfo[i][hOwned] = 0;
    format(HouseInfo[i][hOwner], MAX_PLAYER_NAME, "-");
    format(HouseInfo[i][hDescr], 50, "%s", Interiors[inttype][description]);
    format(string, sizeof string, "%s\nZum Verkauf\nPreis: %d€", HouseInfo[i][hDescr], HouseInfo[i][hPrice]);
    HouseInfo[i][hLabel] = CreateDynamic3DTextLabel(string, COLOR_HOUSELABEL, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz], 20);
    HouseInfo[i][hPick] = CreateDynamicPickup(1273, 1, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
    SendClientMessage(playerid, Grey, "Haus erstellt!");
    SaveHouse(i);
    return 1;
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/hausverkaufen", true))
    {
    new i = PlayerInfo[playerid][pHouseKey]; if(i == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du besitzt kein Haus!");
    GivePlayerMoney(playerid, HouseInfo[i][hPrice]/4);
    HouseInfo[i][hOwned] = 0;
    format(HouseInfo[i][hOwner], MAX_PLAYER_NAME, "-");
    DestroyDynamicPickup(HouseInfo[i][hPick]);
    HouseInfo[i][hPick] = CreateDynamicPickup(1273, 1, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
    SendClientMessage(playerid, Grey, "Du hast dein Haus verkauft und erhälst 1/4 des Kaufpreises zurück!");
    UpdateHouseLabel(i);
    PlayerInfo[playerid][pHouseKey] = MAX_HOUSES+1;
    SaveHouses();
    return 1;
    }
    if(!strcmp(cmdtext, "/asellhouse", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    HouseInfo[i][hOwned] = 0;
    new id = ReturnUser(HouseInfo[i][hOwner]);
    if(IsPlayerConnected(id))
    {
    PlayerInfo[id][pHouseKey] = MAX_HOUSES+1;
    format(string, sizeof string, "Admin %s hat dein Haus verkauft!", pn(playerid));
    SendClientMessage(id, Grey, string);
    }
    else
    {
    format(string, sizeof string, "/Accounts/%s.txt", HouseInfo[i][hOwner]);
    if(INI_Open(string))
    {
    INI_WriteInt("HouseKey", MAX_HOUSES+1);
    INI_Save();
    INI_Close();
    }
    }
    format(HouseInfo[i][hOwner], MAX_PLAYER_NAME, "-");
    DestroyDynamicPickup(HouseInfo[i][hPick]);
    HouseInfo[i][hPick] = CreateDynamicPickup(1273, 1, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
    SendClientMessage(playerid, Grey, "Haus verkauft und HouseKey des Besitzers zurückgesetzt!");
    UpdateHouseLabel(i);
    SaveHouses();
    return 1;
    }
    }
    }
    else SendClientMessage(playerid, Grey, "Du bist kein Admin oder nicht im Adminmode!");
    return 1;
    }
    if(!strcmp(cmdtext, "/mietstatus", true))
    {
    new i = PlayerInfo[playerid][pHouseKey]; if(i == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du besitzt kein Haus!");
    if(!HouseInfo[i][hRentable])
    {
    HouseInfo[i][hRentable] = 1;
    UpdateHouseLabel(i);
    SendClientMessage(playerid, Grey, "Andere Spieler können sich nun dein Haus mieten!");
    return 1;
    }
    if(HouseInfo[i][hRentable])
    {
    HouseInfo[i][hRentable] = 0;
    UpdateHouseLabel(i);
    SendClientMessage(playerid, Grey, "Andere Spieler können sich dein Haus nun nicht mehr mieten!");
    return 1;
    }
    return 1;
    }
    if(!strcmp(cmd, "/miete", true))
    {
    new i = PlayerInfo[playerid][pHouseKey]; if(i == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du besitzt kein Haus!");
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "Verwendung: /Miete [1-10000]");
    new miete = strval(tmp);
    if(miete < 1 || miete > 10000) return SendClientMessage(playerid, Grey, "Gib einen Betrag zwischen 1 und 10000 an!");
    HouseInfo[i][hRent] = miete;
    format(string, sizeof string, "Deine neue Miete beträgt %d€", miete);
    SendClientMessage(playerid, Grey, string);
    UpdateHouseLabel(i);
    return 1;
    }
    if(!strcmp(cmd, "/rausschmeissen", true))
    {
    new i = PlayerInfo[playerid][pHouseKey]; if(i == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du besitzt kein Haus!");
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "Verwendung: /Rausschmeissen [PlayerID/Name] ( Wenn der Spieler nicht online ist, gib den genauen Namen an! )");
    new pid = ReturnUser(tmp);
    if(pid == INVALID_PLAYER_ID && !IsPlayerConnected(pid))
    {
    new path[50], rentkey;
    format(path, sizeof path, "/Accounts/%s.txt", tmp);
    if(!fexist(path)) return SendClientMessage(playerid, Grey, "Dieser Spieler ist nicht online und der Account existiert nicht!");
    if(INI_Open(path))
    {
    rentkey = INI_ReadInt("RentHouseKey");
    if(rentkey != i) return SendClientMessage(playerid, Grey, "Der Spieler mietet sich dein Haus nicht!");
    INI_WriteInt("RentHouseKey", MAX_HOUSES+1);
    INI_Save();
    INI_Close();
    }
    return 1;
    }
    else if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pRentHouseKey] != i) return SendClientMessage(playerid, Grey, "Der Spieler mietet sich dein Haus nicht!");
    PlayerInfo[pid][pRentHouseKey] = MAX_HOUSES+1;
    format(string, sizeof string, "Du hast %s aus dem Haus geschmissen!", pn(pid));
    SendClientMessage(playerid, Grey, string);
    format(string, sizeof string, "Du wurdest von %s aus dem Haus geschmissen!", pn(playerid));SendClientMessage(pid, Grey, string);
    return 1;
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/allerausschmeissen", true))
    {
    new i = PlayerInfo[playerid][pHouseKey]; if(i == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du besitzt kein Haus!");
    for(new p = 0; p<GetMaxPlayers(); p++)
    {
    if(IsPlayerConnected(p))
    {
    if(PlayerInfo[p][pRentHouseKey] == i)
    {
    PlayerInfo[p][pRentHouseKey] = MAX_HOUSES+1;
    SendClientMessage(p, Grey, "Dein Vermieter hat dich aus der Wohnung geschmissen!");
    }
    }
    }
    SendClientMessage(playerid, Grey, "Alle Bewohner wurden aus der Wohnung geschmissen!");
    return 1;
    }
    if(!strcmp(cmdtext, "/destroyhouse", true))
    {
    if(PlayerInfo[playerid][pAdmin] == 1339)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    DestroyDynamicPickup(HouseInfo[i][hPick]);
    DestroyDynamic3DTextLabel(HouseInfo[i][hLabel]);
    format(string, sizeof string, "/Houses/%d.ini", i);
    fremove(string);
    HouseInfo[i][hEntrx] = 0;
    HouseInfo[i][hEntry] = 0;
    HouseInfo[i][hEntrz] = 0;
    HouseInfo[i][hIntx] = 0;
    HouseInfo[i][hInty] = 0;
    HouseInfo[i][hIntz] = 0;
    HouseInfo[i][hOwned] = 0;
    format(HouseInfo[i][hOwner], MAX_PLAYER_NAME, "-");
    HouseInfo[i][hPrice] = 0;
    HouseInfo[i][hIntid] = 0;
    HouseInfo[i][hInt] = 0;
    HouseInfo[i][hRentable] = 0;
    HouseInfo[i][hRent] = 0;
    HouseInfo[i][hLocked] = 0;
    format(HouseInfo[i][hDescr], 50, "-");
    SendClientMessage(playerid, Grey, "Haus gelöscht!");
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmd, "/houseid", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {

    Spoiler anzeigen
    format(string, sizeof string, "HouseID: %d", i);
    SendClientMessage(playerid, Grey, string);
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmd, "/sethouseprice", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "Verwendung: /SetHousePrice [Preis]");
    new price = strval(tmp);
    if( price < 0) return SendClientMessage(playerid, Grey, "Ungültiger Preis!");
    HouseInfo[i][hPrice] = price;
    UpdateHouseLabel(i);
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/hausschloss", true))
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    if(PlayerInfo[playerid][pHouseKey] == i)
    {
    if(HouseInfo[i][hLocked])
    {
    HouseInfo[i][hLocked] = 0;
    SendClientMessage(playerid, Grey, "Haus aufgeschlossen!");
    return 1;
    }
    else if(!HouseInfo[i][hLocked])
    {
    HouseInfo[i][hLocked] = 1;
    SendClientMessage(playerid, Grey, "Haus abgeschlossen!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, Grey, "Dieses Haus gehört dir nicht!");
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/ahausaufzu", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 3)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    if(HouseInfo[i][hLocked])
    {
    HouseInfo[i][hLocked] = 0;
    SendClientMessage(playerid, Grey, "Haus aufgeschlossen!");
    return 1;
    }
    else if(!HouseInfo[i][hLocked])
    {
    HouseInfo[i][hLocked] = 1;
    SendClientMessage(playerid, Grey, "Haus abgeschlossen!");
    return 1;
    }
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmd, "/enterhouse", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 3)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "Verwendung: /EnterHouse [HouseID]");
    new i = strval(tmp);
    if(i < 0 || i > MAX_HOUSES) return SendClientMessage(playerid, Grey, "Ungültige Haus ID!");
    SetPlayerPos(playerid, HouseInfo[i][hIntx], HouseInfo[i][hInty], HouseInfo[i][hIntz]);
    SetPlayerInterior(playerid, HouseInfo[i][hInt]);
    SetPlayerVirtualWorld(playerid, i);
    }
    return 1;
    }
    if(!strcmp(cmd, "/sethausint", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 5)
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, Grey, "Verwendung: /SethausInt [ID] ( /interiors )");
    new intid = strval(tmp);
    if(intid < 1 || intid > 11) return SendClientMessage(playerid, Grey, "Ungültige Interior ID. /interiors");
    HouseInfo[i][hIntid] = intid;
    DestroyDynamicPickup(HouseInfo[i][hPick]);
    DestroyDynamic3DTextLabel(HouseInfo[i][hLabel]);
    SaveHouse(i);
    LoadHouse(i);
    SendClientMessage(playerid, Grey, "Interior ID geändert!");
    return 1;
    }
    }
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/interiors", true))
    {
    if(PlayerInfo[playerid][pAdmin] >= 5)
    {
    for(new i = 0; i<sizeof(Interiors); i++)
    {
    format(string, sizeof string, "Interior Typ %d: %s, IntID: %d", i+1, Interiors[i][description]);
    SendClientMessage(playerid, Grey, string);
    }
    return 1;
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/wohnungkündigen", true))
    {
    if(PlayerInfo[playerid][pRentHouseKey] == MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du mietest keine Wohnung!");
    PlayerInfo[playerid][pRentHouseKey] = MAX_HOUSES+1;
    SendClientMessage(playerid, Grey, "Mietvertrag gekündigt!");
    return 1;
    }
    if(!strcmp(cmdtext, "/mieten", true))
    {
    for(new i = 0; i<MAX_HOUSES; i++)
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]))
    {
    if(!HouseInfo[i][hOwned]) return SendClientMessage(playerid, Grey, "Dieses Haus gehört niemandem!");
    if(HouseInfo[i][hRentable] == 0) return SendClientMessage(playerid, Grey, "Der Besitzer vermietet das Haus nicht!");
    if(PlayerInfo[playerid][pHouseKey] != MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du kannst dir kein Haus mieten, wenn du bereits eines besitzt!");
    if(PlayerInfo[playerid][pRentHouseKey] != MAX_HOUSES+1) return SendClientMessage(playerid, Grey, "Du mietest dir bereits ein Haus!");
    PlayerInfo[playerid][pRentHouseKey] = i;
    format(string, sizeof string, "Du mietest dieses Haus jetzt! An jedem Payday werden dir ab sofort die Mietkosten in Höhe von %d€ abgezogen!", HouseInfo[i][hRent]);
    SendClientMessage(playerid, Grey, string);
    SendClientMessage(playerid, Grey, "Tippe /wohungkündigen um vom Mietvertrag zurückzutreten!");
    }
    }
    return 1;
    }
    //=========================================================================


    Fehler Bild Haus :

    Fehler Tank :


    Was kann ich machen?
    kann mir Jemand Helfen?
    LG
    Crocky

    downloade dir das neueste sscanf Include


    Danke es Geht jetzt ...
    Aber Es werden keine daten Geladen Sprich die sql File mit allen Sachen
    kannst du mir da Helfen? Wie lade ich das Hoch :S


    [17:43:09] --- Server Shutting Down.


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [17:43:21]
    [17:43:21] Server Plugins
    [17:43:21] --------------
    [17:43:21] Loading plugin: streamer.so
    [17:43:21]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [17:43:21] Loaded.
    [17:43:21] Loading plugin: sscanf.so
    [17:43:21]


    [17:43:21] ===============================


    [17:43:21] sscanf plugin loaded.


    [17:43:21] Version: 2.8.1


    [17:43:21] (c) 2012 Alex "Y_Less" Cole


    [17:43:21] ===============================


    [17:43:21] Loaded.
    [17:43:21] Loading plugin: regex.so
    [17:43:21]


    [17:43:21] ______________________________________


    [17:43:21] Regular Expression Plugin v0.2.0 loaded
    [17:43:21] ______________________________________


    [17:43:21] By: Fro (c) Copyright <TBG> 2009-2011
    [17:43:21] ______________________________________


    [17:43:21] Loaded.
    [17:43:21] Loading plugin: mysql.so
    [17:43:21]


    > MySQL plugin R5 successfully loaded.


    [17:43:21] Loaded.
    [17:43:21] Loading plugin: nativechecker.so
    [17:43:21] Loaded.
    [17:43:21] Loaded 5 plugins.


    [17:43:21]
    [17:43:21] Ban list
    [17:43:21] --------
    [17:43:21] Loaded: samp.ban
    [17:43:21]
    [17:43:21]
    [17:43:21] Filterscripts
    [17:43:21] ---------------
    [17:43:21] Loaded 0 filterscripts.


    [17:43:21] [SETZE] Gamemode Suchtklinik Roleplay Rev. 200 | Servername Suchtklinik Roleplay | Karte San Fierro | Website suchtklinikroleplay.com | Entwickler Markus | Letztes Update 10. Juni 2012
    [17:43:21] [Fehler...] Laden der Config
    [17:43:21] [LADE] 0 Fraktionen | 0 Gebäude | 0 Firmen | 0 Häuser | 0 Autos | 0 Checkpoints | 0 Objekte | 0 Automodelle | 0 Befehle | 0 Navigationspunkte
    [17:43:21] Number of vehicle models: 0

    [17:41:37] --- Server Shutting Down.
    [17:41:37]


    *** Streamer Plugin v2.6.1 by Incognito unloaded ***


    [17:41:37]


    [17:41:37] ===============================


    [17:41:37] sscanf plugin unloaded.


    [17:41:37] ===============================


    [17:41:37]


    [17:41:37] ______________________________________


    [17:41:37] Regular Expression Plugin v0.2.0 unloaded
    [17:41:37] ______________________________________


    [17:41:37]


    > MySQL plugin unloaded.



    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [17:41:46]
    [17:41:46] Server Plugins
    [17:41:46] --------------
    [17:41:46] Loading plugin: streamer.so
    [17:41:46]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [17:41:46] Loaded.
    [17:41:46] Loading plugin: sscanf.so
    [17:41:46]


    [17:41:46] ===============================


    [17:41:46] sscanf plugin loaded.


    [17:41:46] (c) 2009 Alex "Y_Less" Cole


    [17:41:46] ===============================


    [17:41:46] Loaded.
    [17:41:46] Loading plugin: regex.so
    [17:41:46]


    [17:41:46] ______________________________________


    [17:41:46] Regular Expression Plugin v0.2.0 loaded
    [17:41:46] ______________________________________


    [17:41:46] By: Fro (c) Copyright <TBG> 2009-2011
    [17:41:46] ______________________________________


    [17:41:46] Loaded.
    [17:41:46] Loading plugin: mysql.so
    [17:41:46]


    > MySQL plugin R5 successfully loaded.


    [17:41:46] Loaded.
    [17:41:46] Loading plugin: nativechecker.so
    [17:41:46] Loaded.
    [17:41:46] Loaded 5 plugins.


    [17:41:46]
    [17:41:46] Ban list
    [17:41:46] --------
    [17:41:46] Loaded: samp.ban
    [17:41:46]
    [17:41:46]
    [17:41:46] Filterscripts
    [17:41:46] ---------------
    [17:41:46] Loaded 0 filterscripts.


    [17:41:46] Error: Function not registered: 'SSCANF_Init'
    [17:41:46] Error: Function not registered: 'SSCANF_Join'
    [17:41:46] Error: Function not registered: 'SSCANF_Leave'
    [17:41:46] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [17:41:46] Number of vehicle models: 0



    Immernoch ...
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [17:31:33]
    [17:31:33] Server Plugins
    [17:31:33] --------------
    [17:31:33] Loading plugin: streamer.so
    [17:31:33]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [17:31:33] Loaded.
    [17:31:33] Loading plugin: sscanf.so
    [17:31:33]


    [17:31:33] ===============================


    [17:31:33] sscanf plugin loaded.


    [17:31:33] (c) 2009 Alex "Y_Less" Cole


    [17:31:33] ===============================


    [17:31:33] Loaded.
    [17:31:33] Loading plugin: regex.so
    [17:31:33]


    [17:31:33] ______________________________________


    [17:31:33] Regular Expression Plugin v0.2.0 loaded
    [17:31:33] ______________________________________


    [17:31:33] By: Fro (c) Copyright <TBG> 2009-2011
    [17:31:33] ______________________________________


    [17:31:33] Loaded.
    [17:31:33] Loading plugin: mysql.so
    [17:31:33]


    > MySQL plugin R5 successfully loaded.


    [17:31:33] Loaded.
    [17:31:33] Loaded 4 plugins.


    [17:31:33]
    [17:31:33] Ban list
    [17:31:33] --------
    [17:31:33] Loaded: samp.ban
    [17:31:33]
    [17:31:33]
    [17:31:33] Filterscripts
    [17:31:33] ---------------
    [17:31:33] Loaded 0 filterscripts.


    [17:31:33] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [17:31:33] Number of vehicle models: 0


    Server Log auf Localem Server :

    Spoiler anzeigen

    ----------
    Loaded log file: "server_log.txt".
    ----------

    Spoiler anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team

    Spoiler anzeigen
    [17:21:20] filterscripts = "" (string)
    [17:21:20]
    [17:21:20] Server Plugins
    [17:21:20] --------------
    [17:21:20] Loading plugin: streamer
    [17:21:20]

    Spoiler anzeigen
    *** Streamer Plugin v2.6.1 by Incognito loaded ***

    Spoiler anzeigen
    [17:21:20] Loaded.
    [17:21:20] Loading plugin: mysql
    [17:21:20]

    Spoiler anzeigen
    > MySQL plugin R5 successfully loaded.

    Spoiler anzeigen
    [17:21:20] Loaded.
    [17:21:20] Loading plugin: sscanf
    [17:21:20]

    Spoiler anzeigen
    [17:21:20] ===============================

    Spoiler anzeigen
    [17:21:20] sscanf plugin loaded.

    Spoiler anzeigen
    [17:21:20] (c) 2009 Alex "Y_Less" Cole

    Spoiler anzeigen
    [17:21:20] 0.3d-R2 500 Players "dnee"

    Spoiler anzeigen
    [17:21:20] ===============================

    Spoiler anzeigen
    [17:21:20] Loaded.
    [17:21:20] Loading plugin: regex
    [17:21:20]

    Spoiler anzeigen
    [17:21:20] ______________________________________

    Spoiler anzeigen
    [17:21:20] Regular Expression Plugin v0.2.0 loaded
    [17:21:20] ______________________________________

    Spoiler anzeigen
    [17:21:20] By: Fro (c) Copyright <TBG> 2009-2011
    [17:21:20] ______________________________________

    Spoiler anzeigen
    [17:21:20] Loaded.
    [17:21:20] Loaded 4 plugins.

    Spoiler anzeigen
    [17:21:20]
    [17:21:20] Filterscripts
    [17:21:20] ---------------
    [17:21:20] Loaded 0 filterscripts.

    Spoiler anzeigen
    [17:21:20] [SETZE] Gamemode Suchtklinik Roleplay Rev. 200 | Servername Suchtklinik Roleplay | Karte San Fierro | Website suchtklinikroleplay.com | Entwickler Markus | Letztes Update 10. Juni 2012
    [17:21:21] [LADE] 12 Fraktionen | 19 Gebäude | 61 Firmen | 95 Häuser | 152 Autos | 96 Checkpoints | 359 Objekte | 209 Automodelle | 110 Befehle | 12 Navigationspunkte
    [17:21:21] Number of vehicle models: 76

    Server Log - Samp4you
    Spoiler anzeigen
    Samp4You Hängt Gerade .... Edit :
    [17:21:04] --- Server Shutting Down.
    [17:21:04]

    Spoiler anzeigen
    *** Streamer Plugin v2.6.1 by Incognito unloaded ***

    Spoiler anzeigen
    [17:21:04]

    Spoiler anzeigen
    [17:21:04] ===============================

    Spoiler anzeigen
    [17:21:04] sscanf plugin unloaded.

    Spoiler anzeigen
    [17:21:04] ===============================

    Spoiler anzeigen
    [17:21:04]

    Spoiler anzeigen
    [17:21:04] ______________________________________

    Spoiler anzeigen
    [17:21:04] Regular Expression Plugin v0.2.0 unloaded
    [17:21:04] ______________________________________

    Spoiler anzeigen
    [17:21:04]

    Spoiler anzeigen
    > MySQL plugin unloaded.

    Spoiler anzeigen
    ----------
    Loaded log file: "server_log.txt".
    ----------

    Spoiler anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team

    Spoiler anzeigen
    [17:21:12]
    [17:21:12] Server Plugins
    [17:21:12] --------------
    [17:21:12] Loading plugin: streamer.so
    [17:21:12]

    Spoiler anzeigen
    *** Streamer Plugin v2.6.1 by Incognito loaded ***

    Spoiler anzeigen
    [17:21:12] Loaded.
    [17:21:12] Loading plugin: sscanf.so
    [17:21:12]

    Spoiler anzeigen
    [17:21:12] ===============================

    Spoiler anzeigen
    [17:21:12] sscanf plugin loaded.

    Spoiler anzeigen
    [17:21:12] (c) 2009 Alex "Y_Less" Cole

    Spoiler anzeigen
    [17:21:12] ===============================

    Spoiler anzeigen
    [17:21:12] Loaded.
    [17:21:12] Loading plugin: regex.so
    [17:21:12]

    Spoiler anzeigen
    [17:21:12] ______________________________________

    Spoiler anzeigen
    [17:21:12] Regular Expression Plugin v0.2.0 loaded
    [17:21:12] ______________________________________

    Spoiler anzeigen
    [17:21:12] By: Fro (c) Copyright <TBG> 2009-2011
    [17:21:12] ______________________________________

    Spoiler anzeigen
    [17:21:12] Loaded.
    [17:21:12] Loading plugin: mysql.so
    [17:21:12]

    Spoiler anzeigen
    > MySQL plugin R6 successfully loaded.

    Spoiler anzeigen
    [17:21:12] Loaded.
    [17:21:12] Loaded 4 plugins.

    Spoiler anzeigen
    [17:21:12]
    [17:21:12] Ban list
    [17:21:12] --------
    [17:21:12] Loaded: samp.ban
    [17:21:12]
    [17:21:12]
    [17:21:12] Filterscripts
    [17:21:12] ---------------
    [17:21:12] Loaded 0 filterscripts.

    Spoiler anzeigen
    [17:21:12] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [17:21:12] Number of vehicle models: 0

    Hey Leute,
    Ich habe ein MYSQL Script welches ich per Locale MYSQL DB Starten kann. (XAMPP & Navicat Lite)
    Wenn ich das Script aber auf den Server hochladen Will (samp4you) Und meine DB im Script eiintrage (bplaced) Dann kommt nur das :


    Das habe ich Geändert :
    Vorher :
    // MYSQL


    #define MYSQL_HOST "localhost"
    #define MYSQL_USER "root"
    #define MYSQL_PASSWORD ""
    #define MYSQL_DB "samp"


    Nachher :


    // MYSQL

    #define MYSQL_HOST "localhost"
    #define MYSQL_USER "crockyy"
    #define MYSQL_PASSWORD "PW"
    #define MYSQL_DB "crockyy"


    habs So auch Versucht ...

    // MYSQL
    #define MYSQL_HOST "crockyy.bplaced.net"
    #define MYSQL_USER "crockyy"
    #define MYSQL_PASSWORD "PW"
    #define MYSQL_DB "crockyy"


    Kann mir Jemand per TV/PM/Skype Helfen?
    LG
    Crocky

    MYSQL Installiert?


    Habe alles So Gemacht wie SampServerTester(magnusoft) in dem Video : (er installiert das Gleiche Script) (nur die Datenbank DAtei heißt bei mir anders, kann das der Fehler sein?)

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

    Server Log :

    Spoiler anzeigen

    ----------
    Loaded log file: "server_log.txt".
    ----------

    Spoiler anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team

    Spoiler anzeigen
    [11:47:14] filterscripts = "" (string)
    [11:47:14]
    [11:47:14] Server Plugins
    [11:47:14] --------------
    [11:47:14] Loading plugin: streamer
    [11:47:14]

    Spoiler anzeigen
    *** Streamer Plugin v2.6.1 by Incognito loaded ***

    Spoiler anzeigen
    [11:47:14] Loaded.
    [11:47:14] Loading plugin: mysql
    [11:47:14]

    Spoiler anzeigen
    > MySQL plugin R5 successfully loaded.

    Spoiler anzeigen
    [11:47:14] Loaded.
    [11:47:14] Loading plugin: sscanf
    [11:47:14]

    Spoiler anzeigen
    [11:47:14] ===============================

    Spoiler anzeigen
    [11:47:14] sscanf plugin loaded.

    Spoiler anzeigen
    [11:47:14] (c) 2009 Alex "Y_Less" Cole

    Spoiler anzeigen
    [11:47:14] 0.3d-R2 500 Players "dnee"

    Spoiler anzeigen
    [11:47:14] ===============================

    Spoiler anzeigen
    [11:47:14] Loaded.
    [11:47:14] Loading plugin: regex
    [11:47:14]

    Spoiler anzeigen
    [11:47:14] ______________________________________

    Spoiler anzeigen
    [11:47:14] Regular Expression Plugin v0.2.0 loaded
    [11:47:14] ______________________________________

    Spoiler anzeigen
    [11:47:14] By: Fro (c) Copyright <TBG> 2009-2011
    [11:47:14] ______________________________________

    Spoiler anzeigen
    [11:47:14] Loaded.
    [11:47:14] Loaded 4 plugins.

    Spoiler anzeigen
    [11:47:14]
    [11:47:14] Filterscripts
    [11:47:14] ---------------
    [11:47:14] Loaded 0 filterscripts.

    Spoiler anzeigen
    [11:47:14] *** Streamer Plugin: Warning: Include file version (0x26104) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
    [11:47:14] [Fehler...] Konnte keine Verbindung zur Datenbank herstellen
    [11:47:14] [SETZE] Gamemode Suchtklinik Roleplay Rev. 200 | Servername Suchtklinik Roleplay | Karte San Fierro | Website suchtklinikroleplay.com | Entwickler Markus | Letztes Update 10. Juni 2012
    [11:47:14] [Fehler...] Laden der Config
    [11:47:14] [LADE] 0 Fraktionen | 0 Gebäude | 0 Firmen | 0 Häuser | 0 Autos | 0 Checkpoints | 0 Objekte | 0 Automodelle | 0 Befehle | 0 Navigationspunkte
    [11:47:14] Number of vehicle models: 0
    [11:47:14] --- Server Shutting Down.
    [11:47:14]

    Spoiler anzeigen
    *** Streamer Plugin v2.6.1 by Incognito unloaded ***


    Im Script :
    Spoiler anzeigen
    // MYSQL

    Spoiler anzeigen
    #define MYSQL_HOST "localhost"
    #define MYSQL_USER "root"
    #define MYSQL_PASSWORD ""
    #define MYSQL_DB "servertest"


    Hey Leute ..
    Bei Mir buggt mal wieder was :S
    Dieses mal das Knastsystem und der /clear Command!
    Clear Befehl :

    Spoiler anzeigen

    Der Fehler : Es kommt Immer "Benutzung : /clear [id]"ocmd:clear(playerid,params[])
    {
    new pID,string[128];
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,BLAU,"Benutzung: /clear [playerid]");
    if(pID == playerid)return SendClientMessage(playerid,ROT,"Du kannst nicht deine eigene Akte reinigen!");
    if(Spieler[playerid][Team] == 1 || Spieler[playerid][Team] == 2 || Spieler[playerid][Team] == 14)
    {
    SetPVarInt(pID,"Wanted",0);
    SetPlayerWantedLevel(pID,0);
    format(string,sizeof(string),"Du hast %s seine Akte gereinigt",SpielerName(pID));
    SendClientMessage(playerid,HELLBLAU,string);
    format(string,sizeof(string),"%s hat deine Akte gereinigt",SpielerName(playerid));
    SendClientMessage(pID,HELLBLAU,string);
    }
    return 1;
    }

    Spoiler anzeigen
    =============Alles was zum Knast Gehört :
    Fehler : Die WAnteds werden nicht Gereinigt und die Zeit läuft nicht ab! Besser Per TV Rüberzuschauen, da es mehrere Enums/Dini daten etc noch gibt. =========================
    new jailed[MAX_PLAYERS];
    if(Spieler[playerid][JailTime] > 0)
    {
    ResetPlayerWeapons(playerid);
    SetTimerEx("JailTimer", Spieler[playerid][JailTime], 0, "%i", playerid);
    if(Spieler[playerid][JailType] == 0)//LSKnastLinks
    {
    SetPlayerInterior(playerid, 6);
    SetPlayerPos(playerid, 264.1042,77.8588,1001.0391);
    return 1;
    }
    else if(Spieler[playerid][JailType] == 1)//LSKnastMitte
    {
    SetPlayerInterior(playerid, 6);
    SetPlayerPos(playerid, 263.9286,82.1553,1000.1721+1);
    return 1;
    }
    else if(Spieler[playerid][JailType] == 2)//LSKnastRechts
    {
    SetPlayerInterior(playerid, 6);
    SetPlayerPos(playerid, 264.5096,87.0414,1000.1336+1);
    return 1;
    }
    }if(strcmp(cmd, "/arrest", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, BLAU, "FEHLER: /arrest [ID/Name]");
    return 1;
    }
    new giveplayerid, string[128];
    giveplayerid = ReturnUser(tmp);
    if(Spieler[playerid][Team] == 1 || Spieler[playerid][Team] == 2 || Spieler[playerid][Team] == 14 || Spieler[playerid][Team] == 15)
    {
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    if(Spieler[giveplayerid][Team] != 1 || Spieler[giveplayerid][Team] != 2)
    {
    if(IsPlayerInRangeOfPoint(playerid, 30.0, 255.6112,85.3952,1002.4453) || IsPlayerInRangeOfPoint(playerid, 10.0,1565.2869,-1695.0863,5.8906))
    {
    if(IsPlayerInRangeOfPoint(giveplayerid, 30.0, 255.6112,85.3952,1002.4453) || IsPlayerInRangeOfPoint(giveplayerid, 10.0,1565.2869,-1695.0863,5.8906))
    {
    if(Spieler[giveplayerid][Wanteds] > 0)
    {
    new jailt = 0 +random(2);
    Spieler[giveplayerid][JailType] = jailt;
    Spieler[giveplayerid][Jailed] = 1;
    Spieler[playerid][JailTime] = 3*Spieler[playerid][Wanteds];
    new moneyss = Spieler[giveplayerid][Wanteds]*2000;
    GivePlayerCash(giveplayerid, -moneyss);
    GivePlayerCash(playerid, moneyss);
    //Spieler[giveplayerid][JailTime] = Spieler[giveplayerid][JailTime]*120000;
    if(Spieler[playerid][Team] == 1)
    {
    format(string, sizeof(string), "<< Officer %s hat den Verbrecher %s eingesperrt >>", SpielerName(playerid), SpielerName(giveplayerid));
    }
    else if(Spieler[playerid][Team] == 2)
    {
    format(string, sizeof(string), "<< Agent %s hat den Verbrecher %s eingesperrt >>", SpielerName(playerid), SpielerName(giveplayerid));
    }
    SendClientMessageToAll(COLOR_RED, string);
    SpawnPlayer(giveplayerid);
    format(string, sizeof(string), "Du bist nun für %d Minuten im Knast. Das Töten im Knast ist verboten.", Spieler[giveplayerid][JailTime]);
    SendClientMessage(giveplayerid, COLOR_RED, string);
    SetPVarInt(giveplayerid,"Wanted",0);
    }
    }
    else
    {
    SendClientMessage(playerid, ROT, "Der Spieler ist nicht in der Nähe des Arrest-Points.");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, ROT, "Du bist nicht in der Nähe des Arrest-Points.");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, ROT, "Der Spieler ist ein Beamter!");
    return 1;
    }
    }
    }
    }
    else
    {
    SendClientMessage(playerid, ROT, "Du bist kein Beamter.");
    return 1;
    }
    }
    return 1;
    }


    Wie alt bist du? 9? 10? Es Geht. Selbst Getestet.
    Omg ...