Beiträge von [TCR]Ayoo

    Hmmm... jetzt kommt das bei raus


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


    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team


    [23:54:46] filterscripts = "" (string)
    [23:54:46]
    [23:54:46] Server Plugins
    [23:54:46] --------------
    [23:54:46] Loading plugin: mysql.so
    [23:54:46] SA:MP MySQL Plugin v2.1.1 Loaded.
    [23:54:46] Loaded.
    [23:54:46] Loading plugin: nativechecker.so
    [23:54:46] [MySQL] Thread running. Threadsafe: Yes.
    [23:54:46] Loaded.
    [23:54:46] Loaded 2 plugins.


    [23:54:46]
    [23:54:46] Ban list
    [23:54:46] --------
    [23:54:46] Loaded: samp.ban
    [23:54:46]
    [23:54:46]
    [23:54:46] Filterscripts
    [23:54:46] ---------------
    [23:54:46] Loaded 0 filterscripts.


    [23:54:46] [MySQL] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.

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


    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team


    [23:43:26] filterscripts = "" (string)
    [23:43:26]
    [23:43:26] Server Plugins
    [23:43:26] --------------
    [23:43:26] Loading plugin: mysql.so
    [23:43:26]


    > MySQL plugin R5 successfully loaded.


    [23:43:26] Loaded.
    [23:43:26] Loading plugin: streamer.so
    [23:43:26]


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


    [23:43:26] Loaded.
    [23:43:26] Loading plugin: sscanf.so
    [23:43:26]


    [23:43:26] ===============================


    [23:43:26] sscanf plugin loaded.


    [23:43:26] (c) 2009 Alex "Y_Less" Cole


    [23:43:26] ===============================


    [23:43:26] Loaded.
    [23:43:26] Loading plugin: nativechecker.so
    [23:43:26] Loaded.
    [23:43:26] Loaded 4 plugins.


    [23:43:26]
    [23:43:26] Ban list
    [23:43:26] --------
    [23:43:26] Loaded: samp.ban
    [23:43:26]
    [23:43:26]
    [23:43:26] Filterscripts
    [23:43:26] ---------------
    [23:43:26] Loaded 0 filterscripts.


    [23:43:26] Error: Function not registered: 'mysql_fetch_row'
    [23:43:26] Script[gamemodes/tdb.amx]: Run time error 19: "File or function is not found"
    [23:43:26] Number of vehicle models: 0

    also sscanf habe ich unten ins script kopiert da es mit dem Support system sonst buggt keine ahnung warum und der streamer wird noch erstellt aber auch ohne den beiden Plugins geht es leider nicht


    hier nochmal das sscanf was ich unten ins Script kopier habe


    stock sscanf(string[], format[], {Float,_}:...)
    {
    new
    formatPos = 0,
    stringPos = 0,
    paramPos = 2,
    paramCount = numargs();
    while (paramPos < paramCount && string[stringPos])
    {
    switch (format[formatPos++])
    {
    case '\0':
    {
    return 0;
    }
    case 'i', 'd':
    {
    new
    neg = 1,
    num = 0,
    ch = string[stringPos];
    if (ch == '-')
    {
    neg = -1;
    ch = string[++stringPos];
    }
    do
    {
    stringPos++;
    if (ch >= '0' && ch <= '9')
    {
    num = (num * 10) + (ch - '0');
    }
    else
    {
    return 1;
    }
    }
    while ((ch = string[stringPos]) && ch != ' ');
    setarg(paramPos, 0, num * neg);
    }
    case 'h', 'x':
    {
    new
    ch,
    num = 0;
    while ((ch = string[stringPos++]))
    {
    switch (ch)
    {
    case 'x', 'X':
    {
    num = 0;
    continue;
    }
    case '0' .. '9':
    {
    num = (num << 4) | (ch - '0');
    }
    case 'a' .. 'f':
    {
    num = (num << 4) | (ch - ('a' - 10));
    }
    case 'A' .. 'F':
    {
    num = (num << 4) | (ch - ('A' - 10));
    }
    case ' ':
    {
    break;
    }
    default:
    {
    return 1;
    }
    }
    }
    setarg(paramPos, 0, num);
    }
    case 'c':
    {
    setarg(paramPos, 0, string[stringPos++]);
    }
    case 'f':
    {
    new tmp[25];
    strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2);
    setarg(paramPos, 0, _:floatstr(tmp));
    }
    case 's', 'z':
    {
    new
    i = 0,
    ch;
    if (format[formatPos])
    {
    while ((ch = string[stringPos++]) && ch != ' ')
    {
    setarg(paramPos, i++, ch);
    }
    if (!i) return 1;
    }
    else
    {
    while ((ch = string[stringPos++]))
    {
    setarg(paramPos, i++, ch);
    }
    }
    stringPos--;
    setarg(paramPos, i, '\0');
    }
    default:
    {
    continue;
    }
    }
    while (string[stringPos] && string[stringPos] != ' ')
    {
    stringPos++;
    }
    while (string[stringPos] == ' ')
    {
    stringPos++;
    }
    paramPos++;
    }
    while (format[formatPos] == 'z') formatPos++;
    return format[formatPos];
    }

    Ohh habe mich auch vertan aber das ging trozdem nicht erstmal das hier



    #include <a_samp>
    #include <mysql>
    #include <ocmd>


    und hier die mysql.inc


    /**
    * SA:MP MySQL v2.1 Functions
    * (c) Copyright 2011, StrickenKid
    *
    **/


    #if defined __mysql_included
    #endinput
    #endif


    #define __mysql_included
    #pragma library mysql


    // plugin error id's


    #define P_ERROR_NONE 0
    #define P_ERROR_INCPARAMCNT 1
    #define P_ERROR_INCVALUE 2
    #define P_ERROR_MAXCONN 3
    #define P_ERROR_DBNOCONN 4
    #define P_ERROR_NORES 5
    #define P_ERROR_RES 6
    #define P_ERROR_NOFIELD 7
    #define P_ERROR_NOFIELDDATA 8
    #define P_ERROR_NOROWDATA 9
    #define P_ERROR_CANTALLOC 10
    #define P_ERROR_NOCALLBACK 11
    #define P_ERROR_NOQUERY 12


    // mysql headers defines


    #define REFRESH_GRANT 1
    #define REFRESH_LOG 2
    #define REFRESH_TABLES 4
    #define REFRESH_HOSTS 8
    #define REFRESH_STATUS 16
    #define REFRESH_THREADS 32
    #define REFRESH_SLAVE 64
    #define REFRESH_MASTER 128


    // mysql error id's


    #define CR_ERROR_FIRST 2000
    #define CR_UNKNOWN_ERROR 2000
    #define CR_SOCKET_CREATE_ERROR 2001
    #define CR_CONNECTION_ERROR 2002
    #define CR_CONN_HOST_ERROR 2003
    #define CR_IPSOCK_ERROR 2004
    #define CR_UNKNOWN_HOST 2005
    #define CR_SERVER_GONE_ERROR 2006
    #define CR_VERSION_ERROR 2007
    #define CR_OUT_OF_MEMORY 2008
    #define CR_WRONG_HOST_INFO 2009
    #define CR_LOCALHOST_CONNECTION 2010
    #define CR_TCP_CONNECTION 2011
    #define CR_SERVER_HANDSHAKE_ERR 2012
    #define CR_SERVER_LOST 2013
    #define CR_COMMANDS_OUT_OF_SYNC 2014
    #define CR_NAMEDPIPE_CONNECTION 2015
    #define CR_NAMEDPIPEWAIT_ERROR 2016
    #define CR_NAMEDPIPEOPEN_ERROR 2017
    #define CR_NAMEDPIPESETSTATE_ERROR 2018
    #define CR_CANT_READ_CHARSET 2019
    #define CR_NET_PACKET_TOO_LARGE 2020
    #define CR_EMBEDDED_CONNECTION 2021
    #define CR_PROBE_SLAVE_STATUS 2022
    #define CR_PROBE_SLAVE_HOSTS 2023
    #define CR_PROBE_SLAVE_CONNECT 2024
    #define CR_PROBE_MASTER_CONNECT 2025
    #define CR_SSL_CONNECTION_ERROR 2026
    #define CR_MALFORMED_PACKET 2027
    #define CR_WRONG_LICENSE 2028
    #define CR_NULL_POINTER 2029
    #define CR_NO_PREPARE_STMT 2030
    #define CR_PARAMS_NOT_BOUND 2031
    #define CR_DATA_TRUNCATED 2032
    #define CR_NO_PARAMETERS_EXISTS 2033
    #define CR_INVALID_PARAMETER_NO 2034
    #define CR_INVALID_BUFFER_USE 2035
    #define CR_UNSUPPORTED_PARAM_TYPE 2036
    #define CR_SHARED_MEMORY_CONNECTION 2037
    #define CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR 2038
    #define CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR 2039
    #define CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR 2040
    #define CR_SHARED_MEMORY_CONNECT_MAP_ERROR 2041
    #define CR_SHARED_MEMORY_FILE_MAP_ERROR 2042
    #define CR_SHARED_MEMORY_MAP_ERROR 2043
    #define CR_SHARED_MEMORY_EVENT_ERROR 2044
    #define CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR 2045
    #define CR_SHARED_MEMORY_CONNECT_SET_ERROR 2046
    #define CR_CONN_UNKNOW_PROTOCOL 2047
    #define CR_INVALID_CONN_HANDLE 2048
    #define CR_SECURE_AUTH 2049
    #define CR_FETCH_CANCELED 2050
    #define CR_NO_DATA 2051
    #define CR_NO_STMT_METADATA 2052
    #define CR_NO_RESULT_SET 2053
    #define CR_NOT_IMPLEMENTED 2054
    #define CR_SERVER_LOST_EXTENDED 2055
    #define CR_STMT_CLOSED 2056
    #define CR_NEW_STMT_METADATA 2057
    #define CR_ERROR_LAST 2057


    // logging types


    #define INVALID_MYSQL_ID (-1)
    #define LOG_OFF (0)
    #define LOG_ALL (1)
    #define LOG_ONLY_ERRORS (2)


    // function defines


    #define mysql_reload(%1) mysql_refresh(REFRESH_GRANT, %1)


    // plugin callbacks


    forward OnMysqlQueryArray(resultid, extravars[], MySQL:handle);
    forward OnMysqlQuery(resultid, spareid, MySQL:handle);
    forward OnMysqlError(error[], errorid, MySQL:handle);


    // plugin natives


    native MySQL:mysql_init(logtype = LOG_ONLY_ERRORS, printerrors = 1);
    native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0);
    native mysql_close(MySQL:handle = (MySQL:0));
    native mysql_refresh(options, MySQL:handle = (MySQL:0));
    native mysql_select_db(const db[], MySQL:handle = (MySQL:0));
    native mysql_query(const query[], resultid = (-1), spareid = (0), MySQL:handle = (MySQL:0));
    native mysql_query_array(const query[], resultid = (-1), {Float,_}:extravars[], MySQL:handle = (MySQL:0));
    native mysql_store_result(MySQL:handle = (MySQL:0));
    native mysql_free_result(MySQL:handle = (MySQL:0));
    native mysql_result_stored(MySQL:handle = (MySQL:0));
    native mysql_fetch_field(const fieldname[], dest[], MySQL:handle = (MySQL:0));
    native mysql_fetch_field_num(fieldnum, dest[], MySQL:handle = (MySQL:0));
    native mysql_fetch_row(dest[], const splitter[] = "|", MySQL:handle = (MySQL:0));
    native mysql_fetch_row_data(MySQL:handle = (MySQL:0));
    native mysql_real_escape_string(const string[], dest[], MySQL:handle = (MySQL:0));
    native mysql_num_rows(MySQL:handle = (MySQL:0));
    native mysql_num_fields(MySQL:handle = (MySQL:0));
    native mysql_affected_rows(MySQL:handle = (MySQL:0));
    native mysql_insert_id(MySQL:handle = (MySQL:0));
    native mysql_ping(MySQL:handle = (MySQL:0));
    native mysql_error(dest[], MySQL:handle = (MySQL:0));
    native mysql_errno(MySQL:handle = (MySQL:0));
    native mysql_warning_count(MySQL:handle = (MySQL:0));
    native mysql_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_stat(dest[], MySQL:handle = (MySQL:0));
    native mysql_get_server_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_get_host_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_data_seek(rownum, MySQL:handle = (MySQL:0));
    native mysql_set_character_set(const csname[], MySQL:handle = (MySQL:0));
    native mysql_get_character_set(csname[], MySQL:handle = (MySQL:0));
    native mysql_fetch_int(MySQL:handle = (MySQL:0));
    native Float:mysql_fetch_float(MySQL:handle = (MySQL:0));
    native mysql_fetch_string(dest[], MySQL:handle = (MySQL:0));


    #if !defined split
    // split function - thanks to Blacklite
    stock split(const strsrc[], strdest[][], delimiter = '|')
    {
    new i, li, aNum, len, srclen = strlen(strsrc);
    while(i <= srclen)
    {
    if (strsrc[i] == delimiter || i == srclen)
    {
    len = strmid(strdest[aNum], strsrc, li, i, 128);
    strdest[aNum][len] = 0;
    li = i + 1;
    aNum++;
    }
    i++;
    }
    }
    #endif

    Guten Tag liebe Breadfish Community,


    Ich habe folgendes Problem und zwar ich wollte mein Script auf Linux scripten aber ich bekomme immer die selbe meldung



    Hier ist die Server Config



    echo Executing Server Config...
    lanmode 0
    rcon_password tdb
    hostname [TDB] The Dream Beginns
    gamemode0 tdb
    filterscripts
    announce 0
    query 1
    weburl www.TDB-Roleplay.de
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
    maxnpc 0
    logtimeformat [%H:%M:%S]
    password tdb123
    plugins mysql.so streamer.so sscanf.so
    maxplayers 180
    bind 85.131.229.112
    bindip 85.131.229.112
    port 7777


    und hier die Server Log



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


    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team


    [23:08:02] filterscripts = "" (string)
    [23:08:02]
    [23:08:02] Server Plugins
    [23:08:02] --------------
    [23:08:02] Loading plugin: mysql.so
    [23:08:02]


    > MySQL plugin R5 successfully loaded.


    [23:08:02] Loaded.
    [23:08:02] Loading plugin: streamer.so
    [23:08:02]


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


    [23:08:02] Loaded.
    [23:08:02] Loading plugin: sscanf.so
    [23:08:02]


    [23:08:02] ===============================


    [23:08:02] sscanf plugin loaded.


    [23:08:02] (c) 2009 Alex "Y_Less" Cole


    [23:08:02] ===============================


    [23:08:02] Loaded.
    [23:08:02] Loaded 3 plugins.


    [23:08:02]
    [23:08:02] Ban list
    [23:08:02] --------
    [23:08:02] Loaded: samp.ban
    [23:08:02]
    [23:08:02]
    [23:08:02] Filterscripts
    [23:08:02] ---------------
    [23:08:02] Loaded 0 filterscripts.


    [23:08:02] Script[gamemodes/tdb.amx]: Run time error 19: "File or function is not found"
    [23:08:02] Number of vehicle models: 0


    und hier noch die mysql.inc



    /**
    * SA:MP MySQL v2.1 Functions
    * (c) Copyright 2011, StrickenKid
    *
    **/


    #if defined __mysql_included
    #endinput
    #endif


    #define __mysql_included
    #pragma library mysql


    // plugin error id's


    #define P_ERROR_NONE 0
    #define P_ERROR_INCPARAMCNT 1
    #define P_ERROR_INCVALUE 2
    #define P_ERROR_MAXCONN 3
    #define P_ERROR_DBNOCONN 4
    #define P_ERROR_NORES 5
    #define P_ERROR_RES 6
    #define P_ERROR_NOFIELD 7
    #define P_ERROR_NOFIELDDATA 8
    #define P_ERROR_NOROWDATA 9
    #define P_ERROR_CANTALLOC 10
    #define P_ERROR_NOCALLBACK 11
    #define P_ERROR_NOQUERY 12


    // mysql headers defines


    #define REFRESH_GRANT 1
    #define REFRESH_LOG 2
    #define REFRESH_TABLES 4
    #define REFRESH_HOSTS 8
    #define REFRESH_STATUS 16
    #define REFRESH_THREADS 32
    #define REFRESH_SLAVE 64
    #define REFRESH_MASTER 128


    // mysql error id's


    #define CR_ERROR_FIRST 2000
    #define CR_UNKNOWN_ERROR 2000
    #define CR_SOCKET_CREATE_ERROR 2001
    #define CR_CONNECTION_ERROR 2002
    #define CR_CONN_HOST_ERROR 2003
    #define CR_IPSOCK_ERROR 2004
    #define CR_UNKNOWN_HOST 2005
    #define CR_SERVER_GONE_ERROR 2006
    #define CR_VERSION_ERROR 2007
    #define CR_OUT_OF_MEMORY 2008
    #define CR_WRONG_HOST_INFO 2009
    #define CR_LOCALHOST_CONNECTION 2010
    #define CR_TCP_CONNECTION 2011
    #define CR_SERVER_HANDSHAKE_ERR 2012
    #define CR_SERVER_LOST 2013
    #define CR_COMMANDS_OUT_OF_SYNC 2014
    #define CR_NAMEDPIPE_CONNECTION 2015
    #define CR_NAMEDPIPEWAIT_ERROR 2016
    #define CR_NAMEDPIPEOPEN_ERROR 2017
    #define CR_NAMEDPIPESETSTATE_ERROR 2018
    #define CR_CANT_READ_CHARSET 2019
    #define CR_NET_PACKET_TOO_LARGE 2020
    #define CR_EMBEDDED_CONNECTION 2021
    #define CR_PROBE_SLAVE_STATUS 2022
    #define CR_PROBE_SLAVE_HOSTS 2023
    #define CR_PROBE_SLAVE_CONNECT 2024
    #define CR_PROBE_MASTER_CONNECT 2025
    #define CR_SSL_CONNECTION_ERROR 2026
    #define CR_MALFORMED_PACKET 2027
    #define CR_WRONG_LICENSE 2028
    #define CR_NULL_POINTER 2029
    #define CR_NO_PREPARE_STMT 2030
    #define CR_PARAMS_NOT_BOUND 2031
    #define CR_DATA_TRUNCATED 2032
    #define CR_NO_PARAMETERS_EXISTS 2033
    #define CR_INVALID_PARAMETER_NO 2034
    #define CR_INVALID_BUFFER_USE 2035
    #define CR_UNSUPPORTED_PARAM_TYPE 2036
    #define CR_SHARED_MEMORY_CONNECTION 2037
    #define CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR 2038
    #define CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR 2039
    #define CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR 2040
    #define CR_SHARED_MEMORY_CONNECT_MAP_ERROR 2041
    #define CR_SHARED_MEMORY_FILE_MAP_ERROR 2042
    #define CR_SHARED_MEMORY_MAP_ERROR 2043
    #define CR_SHARED_MEMORY_EVENT_ERROR 2044
    #define CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR 2045
    #define CR_SHARED_MEMORY_CONNECT_SET_ERROR 2046
    #define CR_CONN_UNKNOW_PROTOCOL 2047
    #define CR_INVALID_CONN_HANDLE 2048
    #define CR_SECURE_AUTH 2049
    #define CR_FETCH_CANCELED 2050
    #define CR_NO_DATA 2051
    #define CR_NO_STMT_METADATA 2052
    #define CR_NO_RESULT_SET 2053
    #define CR_NOT_IMPLEMENTED 2054
    #define CR_SERVER_LOST_EXTENDED 2055
    #define CR_STMT_CLOSED 2056
    #define CR_NEW_STMT_METADATA 2057
    #define CR_ERROR_LAST 2057


    // logging types


    #define INVALID_MYSQL_ID (-1)
    #define LOG_OFF (0)
    #define LOG_ALL (1)
    #define LOG_ONLY_ERRORS (2)


    // function defines


    #define mysql_reload(%1) mysql_refresh(REFRESH_GRANT, %1)


    // plugin callbacks


    forward OnMysqlQueryArray(resultid, extravars[], MySQL:handle);
    forward OnMysqlQuery(resultid, spareid, MySQL:handle);
    forward OnMysqlError(error[], errorid, MySQL:handle);


    // plugin natives


    native MySQL:mysql_init(logtype = LOG_ONLY_ERRORS, printerrors = 1);
    native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0);
    native mysql_close(MySQL:handle = (MySQL:0));
    native mysql_refresh(options, MySQL:handle = (MySQL:0));
    native mysql_select_db(const db[], MySQL:handle = (MySQL:0));
    native mysql_query(const query[], resultid = (-1), spareid = (0), MySQL:handle = (MySQL:0));
    native mysql_query_array(const query[], resultid = (-1), {Float,_}:extravars[], MySQL:handle = (MySQL:0));
    native mysql_store_result(MySQL:handle = (MySQL:0));
    native mysql_free_result(MySQL:handle = (MySQL:0));
    native mysql_result_stored(MySQL:handle = (MySQL:0));
    native mysql_fetch_field(const fieldname[], dest[], MySQL:handle = (MySQL:0));
    native mysql_fetch_field_num(fieldnum, dest[], MySQL:handle = (MySQL:0));
    native mysql_fetch_row(dest[], const splitter[] = "|", MySQL:handle = (MySQL:0));
    native mysql_fetch_row_data(MySQL:handle = (MySQL:0));
    native mysql_real_escape_string(const string[], dest[], MySQL:handle = (MySQL:0));
    native mysql_num_rows(MySQL:handle = (MySQL:0));
    native mysql_num_fields(MySQL:handle = (MySQL:0));
    native mysql_affected_rows(MySQL:handle = (MySQL:0));
    native mysql_insert_id(MySQL:handle = (MySQL:0));
    native mysql_ping(MySQL:handle = (MySQL:0));
    native mysql_error(dest[], MySQL:handle = (MySQL:0));
    native mysql_errno(MySQL:handle = (MySQL:0));
    native mysql_warning_count(MySQL:handle = (MySQL:0));
    native mysql_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_stat(dest[], MySQL:handle = (MySQL:0));
    native mysql_get_server_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_get_host_info(dest[], MySQL:handle = (MySQL:0));
    native mysql_data_seek(rownum, MySQL:handle = (MySQL:0));
    native mysql_set_character_set(const csname[], MySQL:handle = (MySQL:0));
    native mysql_get_character_set(csname[], MySQL:handle = (MySQL:0));
    native mysql_fetch_int(MySQL:handle = (MySQL:0));
    native Float:mysql_fetch_float(MySQL:handle = (MySQL:0));
    native mysql_fetch_string(dest[], MySQL:handle = (MySQL:0));


    #if !defined split
    // split function - thanks to Blacklite
    stock split(const strsrc[], strdest[][], delimiter = '|')
    {
    new i, li, aNum, len, srclen = strlen(strsrc);
    while(i <= srclen)
    {
    if (strsrc[i] == delimiter || i == srclen)
    {
    len = strmid(strdest[aNum], strsrc, li, i, 128);
    strdest[aNum][len] = 0;
    li = i + 1;
    aNum++;
    }
    i++;
    }
    }
    #endif



    Ich habe schon alles Versucht die Plugins zuwechseln die Includes zuwechseln und nichts funktioniert wäre mal jemand so lieb und würde mir seine Linux Includes/Plugins hochladen wo er aber auch sicher ist das sie Funktionieren, wie ich schon öfters gelesen habe soll das ja auch das Problem in den meisten fällen gewesen sein.


    Ich danke jetzt schonmal für eure Hilfe


    Mit Freundlichen Grüßen


    Nico

    Guten Tag Heiko,


    Also nur mal neben bei jetzt bitte nicht Böse nehmen aber hier wurden schon super Scripte für über 200€ Verkauft und das script hatte nur 60k zeilen und das was du hier haben möchtest naja kommt drauf an ob du jetzt Mysql oder Halt ein Dateispeicherungssystem nimmst dann verbraucht alleine das haus und bizzsystem 3-6k Zeilen und das nur für die beiden systeme, ich denke mir mal das du da mit den knapp 15euro nicht weit kommst und auch für 50euro nichts sehr besonderes vllt. wenn du glück hast ein Gutes Script was auch schon Spielbar ist aber so gut wird es auch nicht sein ;)


    Mit Freundlichen Grüßen


    Nico

    Hmmm......

    D:\TCR\pawno\include\gangschaltung.inc(89) : warning 219: local variable "engine" shadows a variable at a preceding level
    D:\TCR\gamemodes\tcr.pwn(342) : error 017: undefined symbol "BackGang"
    D:\TCR\gamemodes\tcr.pwn(342) : warning 215: expression has no effect
    D:\TCR\gamemodes\tcr.pwn(342) : error 017: undefined symbol "Gang4"
    D:\TCR\gamemodes\tcr.pwn(342) : warning 215: expression has no effect
    D:\TCR\gamemodes\tcr.pwn(342) : error 017: undefined symbol "Gang5"
    D:\TCR\gamemodes\tcr.pwn(342) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    HIer die Zeile:


    SetVehicleModelMaxGangSpeed(462,BackGang,Gang1,Gang2=-1,Gang3=-1,Gang4=-1,Gang5=-1,Gang6=-1);


    Könnte mir da bitte einer Helfen`?

    Ersetze mal deinen Skin Save durch den hier:



    new skin;


    skin = GetPlayerSkin(playerid;
    mysql_SetInt("accounts", "Skin", skin, "Name", SpielerInfo[playerid][Name]);


    und bei OnPlayerSpawn schreibst du das hier:


    SetPlayerSkin(playerid,SpielerInfo[playerid][Skin]);


    Sollte eigentlich klappen wenn nicht hast du wie ]hp[ schon geschrieben hat irgendwo das hier stehen das muss dann Weg:


    SpielerInfo[playerid][Skin] = GetPlayerSkin(playerid);


    habe es nicht getestet müsste aber gehen


    MFG :thumbup: