Beiträge von Sean_PauL

    hey ich kriege immer bei einen tor befehl diese errors


    C:\Users\user\Desktop\ORGINAL SERVER\gamemodes\Gadai.pwn(23717) : error 001: expected token: ";", but found ")"
    C:\Users\user\Desktop\ORGINAL SERVER\gamemodes\Gadai.pwn(23717) : error 029: invalid expression, assumed zero


    if(strcmp(cmd, "/schokotor",true) == 0)
    {
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,sizeof pName);
    if(!strcmp(pName,"[ScR]Duce",true))
    if(PlayerInfo[playerid][pDonateRank] >= 2)
    {
    if(PlayerInfo[playerid][pLevel] >= 1)
    {
    Zeile 23717 MoveObject(schokotor,1496.5, -699.90002441406, 96.400001525879-7, 3.0); 1496.5, -699.90002441406, 90.599998474121,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimer("Closeschokotor", 10000, 0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    SendClientMessage(playerid, COLOR_GREEN, "Beeil dich das Tor schließt in 10 sek!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED, "Du bist nicht Duce!");
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED, "Du bist kein Premium User und nicht befugt!");
    }
    }
    ich hoffe ihr könnt mir helfen -.-

    new FBIDOOR;
    forward FBIDOORTimer();
    public OnFilterscriptInit()
    {
    return 1;
    }


    FBIDOOR = CreateObject(1500,1294.18371582,553.40069580,1066.67248535,0.0,0.0,90.0);


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext, "/open", true)==0)
    {
    // FBI DOOR
    SetTimer("FBIDOORTimer", 3000, 0);
    MoveObject (FBIDOOR,1294.15979004,554.91510010,1066.67248535,3);
    return 1;
    }


    public FBIDOORTimer()
    {
    MoveObject(FBIDOOR,1294.18371582,553.40069580,1066.67248535,3);


    return 1;
    }


    ich hab das jetzt so bekomme aber noch 4 errors


    warning 235: public function lacks forward declaration (symbol "OnFilterscriptInit")
    C:\Users\user\Desktop\ORGINALU SERVER\filterscripts\test_cmds.pwn(25) : error 010: invalid function or declaration
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(37) : error 029: invalid expression, assumed zero
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(37) : error 004: function "FBIDOORTimer" is not implemented
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(43) : error 030: compound statement not closed at the end of file (started at line 29)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

    Hey ich bekomme beim complimieren von dem filterscripts immer diese errors


    C:\Users\user\Desktop\ORGINAL SERVER\pawno\include\M_Bot.inc(164) : error 017: undefined symbol "IsAnAdmin"
    C:\Users\user\Desktop\ORGINAL SERVER\pawno\include\M_Bot.inc(603) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(22) : error 010: invalid function or declaration
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(34) : error 029: invalid expression, assumed zero
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(34) : error 004: function "FBIDOORTimer" is not implemented
    C:\Users\user\Desktop\ORGINAL SERVER\filterscripts\test_cmds.pwn(40) : error 030: compound statement not closed at the end of file (started at line 26)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.


    #include <a_samp>
    #include <a_npc>
    #include <core>
    #include <float>
    #include <time>
    #include <dini>
    #include <file>
    #include <utils>
    #include <morphinc>
    #include <M_Bot>
    #include <streamer>
    #include <w_baum>
    #include <ocmd>
    #include <Desk>
    #include bfx_objects
    #pragma dynamic 8192
    #pragma tabsize 0


    //On game/filterscript init
    new FBIDOOR;
    forward FBIDOORTimer();
    FBIDOOR = CreateObject(1500,1294.18371582,553.40069580,1066.67248535,0.0,0.0,90.0);


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext, "/open", true)==0)
    {
    // FBI DOOR
    SetTimer("FBIDOORTimer", 3000, 0);
    MoveObject (FBIDOOR,1294.15979004,554.91510010,1066.67248535,3);
    return 1;
    }


    public FBIDOORTimer()
    {
    MoveObject(FBIDOOR,1294.18371582,553.40069580,1066.67248535,3);


    return 1;
    }

    Hey Ich habe nen masken system nur wenn die maske auf hat und dan igend wie sich portet oder in nen gebäude geht dan sieht man den namen wieder und im chat sieht man den namen auch.
    Hier der code


    if(strcmp(cmdtext, "/trmaske", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    if(Maske[playerid] == 1)
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 1);
    Maske[playerid] = 0;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Du hast deine Maske abgenommen.");
    }
    else if(Maske[playerid] == 0)
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 0);
    Maske[playerid] = 1;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Du hast deine Maske aufgesetzt.");
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du kannst keine Maske aufsetzen!");
    }
    return 1;
    }

    Hallo also aufem meinem server wen ich da drauf gehe und bischen spiele undso und dann offgehe dan crasht der igend wie nach 3-5 min in der server log steht das


    [17:35:52] [debug] Server crashed while executing bsrp.amx
    [17:35:52] [debug] Backtrace:
    [17:35:52] [debug] #0 000a3c00 in ?? () from bsrp.amx
    [17:35:52] [debug] #1 001c2b78 in public cmd_aduty () from bsrp.amx
    [17:35:52] [debug] #2 00000bb8 in public OnPlayerCommandText () from bsrp.amx
    [17:35:52] [debug] Thread backtrace:
    [17:35:52] [debug] #0 f69874ad in crashdetect::PrintThreadBacktrace () from plugins/crashdetect.so
    [17:35:52] [debug] #1 f6989bbc in crashdetect::Crash () from plugins/crashdetect.so
    [17:35:52] [debug] #2 f698ed4e in ?? () from plugins/crashdetect.so
    [17:35:52] [debug] #3 f7705400 in ?? ()
    [17:35:52] [debug] #4 f6986b2b in crashdetect::HandleAmxExec () from plugins/crashdetect.so
    [17:35:52] [debug] #5 f698db6e in ?? () from plugins/crashdetect.so
    [17:35:52] [debug] #6 080d3b12 in ?? () from ./samp1999_987
    [17:35:52] [debug] #7 f6990db6 in amx_Exec () from plugins/crashdetect.so
    [17:35:52] [debug] #8 f6986b2b in crashdetect::HandleAmxExec () from plugins/crashdetect.so
    [17:35:52] [debug] #9 f698db6e in ?? () from plugins/crashdetect.so
    [17:35:52] [debug] #10 0806f902 in ?? () from ./samp1999_987
    [17:35:52] [debug] #11 0807fe6c in ?? () from ./samp1999_987
    [17:35:52] [debug] #12 080adbe1 in ?? () from ./samp1999_987
    [17:35:52] [debug] #13 080adcd2 in ?? () from ./samp1999_987
    [17:35:52] [debug] #14 080b79c0 in ?? () from ./samp1999_987
    [17:35:52] [debug] #15 0807d78d in ?? () from ./samp1999_987
    [17:35:52] [debug] #16 0807d962 in ?? () from ./samp1999_987
    [17:35:52] [debug] #17 08077c23 in ?? () from ./samp1999_987
    [17:35:52] [debug] #18 f7477ca6 in __libc_start_main () from /lib32/libc.so.6
    [17:35:52] [debug] #19 0804b4c1 in __gxx_personality_v0 () from ./samp1999_987

    Halloich suche nach einem carheal system also z.b man ein auto gekauft gibt den befehl ein z.b /autocarheal das dan nen dialog kommt mit 1k carheal 2k carheal 3k carheal 4k carheal bis 7k Wen man das dan anklickt das das auto 7k carheal hat also dein gekauftest auch nach server restart und carrespawn also immer 7k hat ^^ und das bestimmte preise zugelegt sind z.b 1k 100000 2k 200000 immer so weiter hat jemand sonen system oder wiß wie ich das mache?

    //MYSQL Check
    ConnectMySQL()
    {
    if(mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS))
    print("[MySQL] Verbindung zum MYSQL Server erfolgreich aufgebaut!");


    else
    print("[MySQL] Verbindung zum MYSQL Server fehlgeschlagen!");
    }


    CheckMySQL()
    {
    if(mysql_ping() == -1)
    mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
    }



    CheckAccountExists(account[])
    {
    new string[128];
    format(string, sizeof(string), "SELECT * FROM accounts WHERE Name = '%s'", account);
    mysql_query(string);


    mysql_store_result();


    new value;
    value = mysql_num_rows();
    mysql_free_result();
    return value;
    }


    stock mysql_GetInt(Table[], Field[], Where[], Is[])
    {
    new query[128];
    mysql_real_escape_string(Table, Table);
    mysql_real_escape_string(Field, Field);
    mysql_real_escape_string(Where, Where);
    mysql_real_escape_string(Is, Is);
    format(query, 128, "SELECT `%s` FROM `%s` WHERE `%s` = '%s'", Field, Table, Where, Is);
    mysql_query(query);
    mysql_store_result();
    new sqlint = mysql_fetch_int();
    mysql_free_result();
    return sqlint;
    }



    //MYSQL GetFloat
    stock Float:mysql_GetFloat(Table[], Field[], Where[], Is[])
    {
    new query[128], Float:sqlfloat;
    mysql_real_escape_string(Table, Table);
    mysql_real_escape_string(Field, Field);
    mysql_real_escape_string(Where, Where);
    mysql_real_escape_string(Is, Is);
    format(query, 128, "SELECT %s FROM %s WHERE %s = '%s'", Field, Table, Where, Is);
    mysql_query(query);
    mysql_store_result();
    mysql_fetch_float(sqlfloat);
    mysql_free_result();
    return sqlfloat;
    }


    //mysql_Getstring
    stock mysql_GetString(Table[], Field[], Where[], Is[])
    {
    new query[128], Get[128];
    mysql_real_escape_string(Table, Table);
    mysql_real_escape_string(Field, Field);
    mysql_real_escape_string(Where, Where);
    mysql_real_escape_string(Is, Is);
    format(query, 128, "SELECT %s FROM %s WHERE %s = '%s'", Field, Table, Where, Is);
    mysql_query(query);
    mysql_store_result();
    mysql_fetch_row(Get);
    return Get;
    }

    Also wen ich mein server starte lädt er alles aufeinma kommt sonen piepen und dann steht da server shutting down
    Ich habe ma in dem mysql.log nachgeschaut da steht das drinne was bedeutet das =


    [20:05:38] ---------------------------


    [20:05:38] MySQL Debugging activated (12/16/12)


    [20:05:38] ---------------------------


    [20:05:38]


    [20:05:38] >> mysql_ping( Connection handle: 1 )


    [20:05:38] CMySQLHandler:ing() - Connection is still alive.


    [20:05:39] CMySQLHandler::~CMySQLHandler() - deconstructor called.


    [20:05:39] CMySQLHandler::FreeResult() - The result is already empty.


    [20:05:39] CMySQLHandler:isconnect() - Connection was closed.


    es will einfach nicht funktionieren -.- könnt ihr mir da helfen?

    Also wen ich mein server starte lädt er alles aufeinma kommt sonen piepen und dann steht da server shutting down
    Ich habe ma in dem mysql.log nachgeschaut da steht das drinne was bedeutet das =


    [20:05:38] ---------------------------


    [20:05:38] MySQL Debugging activated (12/16/12)


    [20:05:38] ---------------------------


    [20:05:38]


    [20:05:38] >> mysql_ping( Connection handle: 1 )


    [20:05:38] CMySQLHandler::Ping() - Connection is still alive.


    [20:05:39] CMySQLHandler::~CMySQLHandler() - deconstructor called.


    [20:05:39] CMySQLHandler::FreeResult() - The result is already empty.


    [20:05:39] CMySQLHandler::Disconnect() - Connection was closed.

    Jaa sind es ^^
    und das hier steht in dem mysql log :([14:49:03] >> mysql_ping( Connection handle: 1 )


    [14:49:03] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)


    [14:49:03] >> mysql_connect( )


    [14:49:04] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (Error ID: 2003)


    [14:49:04] >> mysql_query( Connection handle: 1 )


    [14:49:04] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:04] >> mysql_store_result( Connection handle: 1 )


    [14:49:04] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)


    [14:49:04] >> mysql_fetch_row_format( Connection handle: 1 )


    [14:49:04] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:04] >> mysql_query( Connection handle: 1 )


    [14:49:04] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:04] >> mysql_store_result( Connection handle: 1 )


    [14:49:04] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)


    [14:49:04] >> mysql_fetch_row_format( Connection handle: 1 )


    [14:49:04] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:04] >> mysql_query( Connection handle: 1 )


    [14:49:04] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:04] >> mysql_store_result( Connection handle: 1 )


    [14:49:04] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)


    [14:49:04] >> mysql_fetch_row_format( Connection handle: 1 )


    [14:49:04] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Connection is dead)


    [14:49:05] CMySQLHandler::~CMySQLHandler() - deconstructor called.


    [14:49:05] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)


    [14:49:05] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)

    Also wen ich mein server starte geht er direkt wieder offline die log habe ich hier ^^


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


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


    [13:33:20]
    [13:33:20] Server Plugins
    [13:33:20] --------------
    [13:33:20] Loading plugin: mysql.so
    [13:33:20]


    > MySQL plugin R5 successfully loaded.


    [13:33:20] Loaded.
    [13:33:20] Loading plugin: streamer.so
    [13:33:20]


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


    [13:33:20] Loaded.
    [13:33:20] Loading plugin: MapAndreas.so
    [13:33:20] Loaded.
    [13:33:20] Loaded 3 plugins.


    [13:33:20]
    [13:33:20] Ban list
    [13:33:20] --------
    [13:33:20] Loaded: samp.ban
    [13:33:20]
    [13:33:20]
    [13:33:20] Filterscripts
    [13:33:20] ---------------
    [13:33:20] Loading filterscript 'animations.amx'...
    [13:33:20] Loaded 1 filterscripts.


    [13:33:20] [MySQL] Verbindung zum MYSQL Server erfolgreich aufgebaut!
    [13:33:20] Es wurden erfolgreich [19] Häuser geladen!
    [13:33:20] Incoming connection: 176.9.44.136:60854
    [13:33:20] Filterscript 'animations.amx' unloaded.
    [13:33:20] Filterscript 'animations.amx' loaded.
    [13:33:20] Incoming connection: 176.9.44.136:46616
    [13:33:20] Incoming connection: 176.9.44.136:54513
    [13:33:20] Incoming connection: 176.9.44.136:54079
    [13:33:20] Incoming connection: 176.9.44.136:57904
    [13:33:20] Incoming connection: 176.9.44.136:56262
    [13:33:20] Incoming connection: 176.9.44.136:45112
    [13:33:20] Incoming connection: 176.9.44.136:34580
    [13:33:20] Incoming connection: 176.9.44.136:49227
    [13:33:20] Incoming connection: 176.9.44.136:50041
    [13:33:20] Incoming connection: 176.9.44.136:57933
    [13:33:20] Es wurden erfolgreich [6829] Objekte geladen!
    [13:33:20] ----------------------------------------
    [13:33:20] Selfmade Yehaa
    [13:33:20] Copyright 2011-2012 by me
    [13:33:20] ------------------------------------------
    [13:33:20]
    [13:33:20] Number of vehicle models: 70
    [13:33:20] --- Server Shutting Down.
    [13:33:20] Incoming connection: 176.9.44.136:52606
    [13:33:20] Incoming connection: 176.9.44.136:44236
    [13:33:20] Incoming connection: 176.9.44.136:38698
    [13:33:20] Incoming connection: 176.9.44.136:35272
    [13:33:20] Incoming connection: 176.9.44.136:39293
    [13:33:20] Incoming connection: 176.9.44.136:46876
    [13:33:20] Incoming connection: 176.9.44.136:45914
    [13:33:20] Incoming connection: 176.9.44.136:55904
    [13:33:20] Incoming connection: 176.9.44.136:43549
    [13:33:20] Incoming connection: 176.9.44.136:34995
    [13:33:20] Incoming connection: 176.9.44.136:58892
    [13:33:20] Incoming connection: 176.9.44.136:54704
    [13:33:20] Incoming connection: 176.9.44.136:44009
    [13:33:20] Incoming connection: 176.9.44.136:35443
    Ich hoffe ihr könnt mir helfen :/

    Hey ich habe mir heute nen script gekauft habe alles eingerichtet und starte den server dann kamen diese error


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


    [19:51:55] filterscripts = "" (string)
    [19:51:55]
    [19:51:55] Server Plugins
    [19:51:55] --------------
    [19:51:55] Loading plugin: streamer
    [19:51:55]


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


    [19:51:55] Loaded.
    [19:51:55] Loading plugin: mysql
    [19:51:55]


    > MySQL plugin R7 successfully loaded.


    [19:51:55] Loaded.
    [19:51:55] Loading plugin: mapandreas
    [19:51:55] Loaded.
    [19:51:55] Loading plugin: nativechecker
    [19:51:55] Loaded.
    [19:51:55] Loaded 4 plugins.


    [19:51:55]
    [19:51:55] Filterscripts
    [19:51:55] ---------------
    [19:51:55] Loaded 0 filterscripts.


    [19:51:55] Checking natives...
    [19:51:55] Error: Function "mysql_query" is not found
    [19:51:55] Error: Function "mysql_fetch_int" is not found
    [19:51:55] Error: Function "mysql_fetch_float" is not found
    [19:51:55] Missing 3 functions in total.
    [19:51:55] Script[gamemodes/bsrp.amx]: Run time error 19: "File or function is not found"
    [19:51:55] Number of vehicle models: 0


    Joo mit Nativechecker habe ich schon gemacht aber was ist das mit den errors könnt ihr mir helfen?

    ja das wird unter scriptfiles M_Bot M_Black gespeichert trozdem kann ich wieder drauf-.-
    Mir geht es dadrum das wen ich normal ban mache dann können die router neustart dann sind sie wieder drauf
    mit pban wird die ganze range gebannt wie kriege ich das wieder hin?

    Heeyo ich habe in meinen script schon seit langem den befehl /pban wollte den jetzt mal in ein anderes übertragen aber wen ich dann /pban mache dann kann ich mit nem neuen account wieder drauf
    Früher stand dan das du hast einen PERM ban Bye!
    Igend wie funkt das nicht mehr ich habs auf hamachi server getest also noch nicht hochgeladen kann das daran liegen oder warum
    Hier ein paar zeilen
    if(strcmp(cmd, "/pban", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /pban [playerid] [grund]");
    return 1;
    }
    giveplayerid = ReturnUser(tmp);
    if (PlayerInfo[playerid][pAdmin] >= 1339)
    {
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(cmdtext);
    while ((idx < length) && (cmdtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = cmdtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /pban [playerid] [grund]");
    return 1;
    }
    if(PlayerInfo[giveplayerid][pAdmin] > PlayerInfo[playerid][pAdmin])
    {
    SendClientMessage(playerid, COLOR_GRAD2, "Du kannst diesen Spieler nicht bannen, da er ein höheres Adminlevel hat als du!");
    return 1;
    }
    new year, month,day;
    getdate(year, month, day);
    format(string, sizeof(string), "AdmCmd: %s wurde von %s gebannt, Grund: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
    BanLog(string);
    format(string, sizeof(string), "AdmCmd: %s wurde von %s gebannt, Grund: %s", giveplayer, sendername, (result));
    SendClientMessageToAll(COLOR_LIGHTRED, string);
    M_Log(string);
    //PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
    PlayerInfo[giveplayerid][pGesperrt] = 1;
    new ip[16];
    GetPlayerIp(giveplayerid,ip,sizeof(ip));
    M_WriteIPToBlacklist(ip); // wie kann man ihn jetzt entbannen ? moment ... muss was kucken
    //Ban(giveplayerid);
    Kick(giveplayerid);
    return 1;
    }
    }//not connected
    }
    else
    {
    format(string, sizeof(string), " %d ist kein aktiver Spieler.", giveplayerid);
    SendClientMessage(playerid, COLOR_GRAD1, string);
    }
    }
    return 1;
    }

    Hallo bei meinen script ist es so bei den house icons das wen man sich erst reinstellt dann sowas mitten auf dem bildschirm erscheint mit Level preis undso
    Ich will das aber so machen das in dem haus icon die sachen drinne stehen habe es einma rauskopiert was muss ich da ändern
    if(IsPlayerConnected(i))
    {
    GetPlayerPos(i, oldposx, oldposy, oldposz);
    new tmpcar = GetPlayerVehicleID(i);
    if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
    {
    for(new h = 0; h < sizeof(SBizzInfo); h++)
    {
    if(IsATruck(tmpcar) && IsPlayerInRangeOfPoint(i,10.0, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
    {
    format(string, sizeof(string), "~w~%s~n~~r~Benoetigte Produkte~w~: %d~n~~y~Produktpreis: ~w~: $%d~n~~g~: ~w~Preis: $%d",SBizzInfo[h][sbMessage],(SBizzInfo[h][sbMaxProducts]-SBizzInfo[h][sbProducts]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    if(IsPlayerInRangeOfPoint(i,3.0, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
    {
    if(SBizzInfo[h][sbOwned] == 1)
    {
    format(string, sizeof(string), "~w~%s~w~~n~Inhaber: %s~n~Teilhaber: %s~n~Eintrittspreis: ~g~$%d ~w~Level : %d ~n~Benutze /enter zum betreten",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
    }
    else
    {
    format(string, sizeof(string), "~w~%s~w~~n~Dieses Business ist zu verkaufen~n~Preis ~g~$%d ~w~Level : %d ~n~Benutze /buybiz um das Biz zu kaufen",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
    }
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    }
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(IsPlayerInRangeOfPoint(i,2.0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
    {
    if(HouseInfo[h][hOwned] == 1)
    {
    if(HouseInfo[h][hRentabil] == 0)
    {
    format(string, sizeof(string), "~w~Dieses Haus gehoert: ~n~%s~n~Level : %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
    }
    else
    {
    format(string, sizeof(string), "~w~Dieses Haus gehoert: ~n~%s~n~Miete: $%d Level : %d~n~Benutze /einmieten, um ein Zimmer zu mieten",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
    }
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    else
    {
    format(string, sizeof(string), "~w~Dieses Haus ist zu Verkaufen~n~Beschreibung: %s ~n~Preis: ~g~$%d~n~~w~ Level: %d~n~Benutze /kaufhaus um es zu kaufen",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
    }
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    }
    for(new h = 0; h < sizeof(BizzInfo); h++)
    {
    if(IsATruck(tmpcar) && IsPlayerInRangeOfPoint(i,10.0, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
    {
    format(string, sizeof(string), "~w~%s~n~~r~Benoetigte Produkte~w~: %d~n~~y~Produktpreis: ~w~: $%d~n~~g~Preis: ~w~: $%d",BizzInfo[h][bMessage],(BizzInfo[h][bMaxProducts]-BizzInfo[h][bProducts]),BizzInfo[h][bPriceProd],BizzInfo[h][bTill]);
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    if(IsPlayerInRangeOfPoint(i,2.0, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
    {
    if(BizzInfo[h][bOwned] == 1)
    {
    format(string, sizeof(string), "~w~%s~w~~n~Inhaber: %s~n~Teilhaber: %s~n~Eintrittspreis: ~g~$%d ~w~Level: %d ~n~Benutze /enter zum betreten",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
    }
    else
    {
    format(string, sizeof(string), "~w~%s~w~~n~Dieses Business ist zu verkaufen~n~Preis: ~g~$%d ~w~Level: %d ~n~Benutze /buybiz um das Biz zu kaufen",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
    }
    GameTextForPlayer(i, string, 5000, 3);
    return 1;
    }
    }
    }