Beiträge von Crocky

    Was kann ich machen?
    Habe schon alles Geupdatet etc :o




    [expander]--------------------------


    SA-MP Server: 0.3x




    Exception At Address: 0x77BE2262 Module: (ntdll.dll)




    Registers:


    EAX: 0x00000024 EBX: 0x00000080 ECX: 0x004E25A8 EDX: 0x0380F70C


    ESI: 0x00000024 EDI: 0x00000020 EBP: 0x0018FC6C ESP: 0x0018FC58


    EFLAGS: 0x00010206




    Stack:


    +0000: 0x0380F70C 0x0380F6F8 0x00400074 0x021B5E78


    +0010: 0x021B5E78 0x0018FCAC 0x00492860 0x00000020


    +0020: 0x004991C0 0x00000000 0x0380F70C 0x0380F6F8


    +0030: 0x00000080 0x64616D66 0x79622065 0x0018FC80


    +0040: 0x0018F82C 0x0018FE24 0x00496EB8 0x004B2CF0


    +0050: 0xFFFFFFFF 0x00000080 0x00492E90 0x00000000


    +0060: 0x00404F44 0x00000000 0x0018FCD8 0x0380F6F8


    +0070: 0x00000080 0x0018FD80 0x00000000 0x00000128


    +0080: 0x021B5E78 0x0018FD18 0x00405832 0x00000000


    +0090: 0x00000080 0x00000001 0x005E8ED0 0x00000001


    +00A0: 0x0380F910 0x0018FE24 0x004A4AB8 0xFFFFFFFF


    +00B0: 0x0047DA8E 0x0018FD34 0x00000001 0x005E11B0


    +00C0: 0x005EEC80 0x005E8ED0 0x0220FD68 0x0018FD80


    +00D0: 0x005E8E01 0x0047DF91 0x0018FD48 0x005EEC80


    +00E0: 0x0000000A 0x0018FD64 0x00000001 0x0220FD68


    +00F0: 0x005EEC80 0x0380F901 0x00470E96 0x0018FD64


    +0100: 0x00007530 0x00000001 0x004057D0 0x021B5E78


    +0110: 0x0026F448 0x004057E0 0x021B5E78 0x021B5E78


    +0120: 0x03462064 0x00000087 0x03582388 0x004010B6


    +0130: 0x021B5E78 0x0380F70C 0x035A02C4 0x00402B63




    --------------------------




    Loaded Modules:


    samp-server.exe A: 0x00400000 - 0x004F5000 (C:\Users\Dominik\Desktop\Selfmade by RedFly\samp-server.exe)


    ntdll.dll A: 0x77BC0000 - 0x77D40000 (C:\Windows\SysWOW64\ntdll.dll)


    kernel32.dll A: 0x763E0000 - 0x764F0000 (C:\Windows\syswow64\kernel32.dll)


    KERNELBASE.dll A: 0x76BB0000 - 0x76BF7000 (C:\Windows\syswow64\KERNELBASE.dll)


    SHELL32.dll A: 0x75680000 - 0x762C9000 (C:\Windows\syswow64\SHELL32.dll)


    msvcrt.dll A: 0x762D0000 - 0x7637C000 (C:\Windows\syswow64\msvcrt.dll)


    SHLWAPI.dll A: 0x76630000 - 0x76687000 (C:\Windows\syswow64\SHLWAPI.dll)


    GDI32.dll A: 0x76EE0000 - 0x76F70000 (C:\Windows\syswow64\GDI32.dll)


    USER32.dll A: 0x754C0000 - 0x755C0000 (C:\Windows\syswow64\USER32.dll)


    ADVAPI32.dll A: 0x755E0000 - 0x75680000 (C:\Windows\syswow64\ADVAPI32.dll)


    sechost.dll A: 0x76710000 - 0x76729000 (C:\Windows\SysWOW64\sechost.dll)


    RPCRT4.dll A: 0x76540000 - 0x76630000 (C:\Windows\syswow64\RPCRT4.dll)


    SspiCli.dll A: 0x752A0000 - 0x75300000 (C:\Windows\syswow64\SspiCli.dll)


    CRYPTBASE.dll A: 0x75290000 - 0x7529C000 (C:\Windows\syswow64\CRYPTBASE.dll)


    LPK.dll A: 0x755C0000 - 0x755CA000 (C:\Windows\syswow64\LPK.dll)


    USP10.dll A: 0x75390000 - 0x7542E000 (C:\Windows\syswow64\USP10.dll)


    WSOCK32.dll A: 0x72D90000 - 0x72D97000 (C:\Windows\system32\WSOCK32.dll)


    WS2_32.dll A: 0x76730000 - 0x76765000 (C:\Windows\syswow64\WS2_32.dll)


    NSI.dll A: 0x755D0000 - 0x755D6000 (C:\Windows\syswow64\NSI.dll)


    WINMM.dll A: 0x72D20000 - 0x72D52000 (C:\Windows\system32\WINMM.dll)


    IMM32.DLL A: 0x76380000 - 0x763E0000 (C:\Windows\system32\IMM32.DLL)


    MSCTF.dll A: 0x76E10000 - 0x76EDC000 (C:\Windows\syswow64\MSCTF.dll)


    mswsock.dll A: 0x729C0000 - 0x729FC000 (C:\Windows\system32\mswsock.dll)


    wshtcpip.dll A: 0x729B0000 - 0x729B5000 (C:\Windows\System32\wshtcpip.dll)


    NLAapi.dll A: 0x71EA0000 - 0x71EB0000 (C:\Windows\system32\NLAapi.dll)


    DNSAPI.dll A: 0x71E50000 - 0x71E94000 (C:\Windows\system32\DNSAPI.dll)


    winrnr.dll A: 0x71E40000 - 0x71E48000 (C:\Windows\System32\winrnr.dll)


    napinsp.dll A: 0x71E30000 - 0x71E40000 (C:\Windows\system32\napinsp.dll)


    pnrpnsp.dll A: 0x71E10000 - 0x71E22000 (C:\Windows\system32\pnrpnsp.dll)


    WLIDNSP.DLL A: 0x71DE0000 - 0x71E04000 (c:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL)


    PSAPI.DLL A: 0x77B90000 - 0x77B95000 (C:\Windows\syswow64\PSAPI.DLL)


    mdnsNSP.dll A: 0x71DB0000 - 0x71DD1000 (C:\Program Files (x86)\Bonjour\mdnsNSP.dll)


    Iphlpapi.DLL A: 0x72A60000 - 0x72A7C000 (C:\Windows\system32\Iphlpapi.DLL)


    WINNSI.DLL A: 0x72A50000 - 0x72A57000 (C:\Windows\system32\WINNSI.DLL)


    rasadhlp.dll A: 0x73DA0000 - 0x73DA6000 (C:\Windows\system32\rasadhlp.dll)
    [/expander]

    Hey.
    Bei einem Haussystem (was im Script war|SunSe Roleplay) geht das /exit 'System' nicht.
    Was ist da Falsch?
    Hoffe ihr könnt mir Helfen!
    House :

    Spoiler anzeigen

    Oben :
    new HouseEntered[MAX_PLAYERS];

    Spoiler anzeigen
    new PlayerInfo[MAX_PLAYERS][pInfo];

    Spoiler anzeigen
    enum hInfo
    {
    Float:hEntrancex,
    Float:hEntrancey,
    Float:hEntrancez,
    Float:hExitx,
    Float:hExity,
    Float:hExitz,
    hHealthx,
    hHealthy,
    hHealthz,
    hArmourx,
    hArmoury,
    hArmourz,
    hOwner[MAX_PLAYER_NAME],
    hDiscription[MAX_PLAYER_NAME],
    hValue,
    hHel,
    hArm,
    hInt,
    hLock,
    hOwned,
    hRooms,
    hRent,
    hRentabil,
    hTakings,
    hVec,
    hVcol1,
    hVcol2,
    hDate,
    hLevel,
    hVW,
    };

    Spoiler anzeigen
    new HouseInfo[250][hInfo];

    Spoiler anzeigen
    enum sInfo
    {
    Float:sEntrancex,
    Float:sEntrancey,
    Float:sEntrancez,
    Float:sExitx,
    Float:sExity,
    Float:sExitz,
    sOwner[MAX_PLAYER_NAME],
    sDiscription[MAX_PLAYER_NAME],
    sValue,
    sInt,
    sLock,
    sOwned,
    sRooms,
    sRent,
    sRentabil,
    sTakings,
    sDate,
    sLevel,
    sVWstan,
    };

    Spoiler anzeigen
    new StanInfo[107][sInfo];

    Spoiler anzeigen
    enum bInfo
    {
    bOwned,
    bOwner[64],
    bMessage[128],
    bExtortion[MAX_PLAYER_NAME],
    Float:bEntranceX,
    Float:bEntranceY,
    Float:bEntranceZ,
    Float:bExitX,
    Float:bExitY,
    Float:bExitZ,
    bLevelNeeded,
    bBuyPrice,
    bEntranceCost,
    bTill,
    bLocked,
    bInterior,
    bProducts,
    bMaxProducts,
    bPriceProd,
    bVWb,
    };
    new BizzInfo[58][bInfo];

    Spoiler anzeigen
    enum sbInfo
    {
    sbOwned,
    sbOwner[64],
    sbMessage[128],
    sbExtortion[MAX_PLAYER_NAME],
    Float:sbEntranceX,
    Float:sbEntranceY,
    Float:sbEntranceZ,
    sbLevelNeeded,
    sbBuyPrice,
    sbEntranceCost,
    sbTill,
    sbLocked,
    sbInterior,
    sbProducts,
    sbMaxProducts,
    sbPriceProd,
    };
    new SBizzInfo[18][sbInfo];

    Spoiler anzeigen
    enum pHaul
    {
    pCapasity,
    pLoad,
    };

    Spoiler anzeigen
    new PlayerHaul[500][pHaul];

    Spoiler anzeigen
    enum pCrime
    {
    pBplayer[32],
    pAccusing[32],
    pAccusedof[32],
    pVictim[32],
    };
    new PlayerCrime[MAX_PLAYERS][pCrime];

    Spoiler anzeigen
    enum iInfo
    {
    iAdmin[128],
    iMOTD[128],
    iPassword[128],
    iNeedPass,
    iLock,
    iPlayers,
    };
    new IRCInfo[10][iInfo];

    Spoiler anzeigen

    public SafeSetPlayerPos(playerid, Float:x, Float:y, Float:z)
    {
    SetPlayerPos(playerid, x,y,z);
    //Streamer_UpdateEx(playerid,x,y,z);
    return 1;
    }

    Spoiler anzeigen
    public SafeSetPlayerInterior(plyid, interiorid)
    {
    SetPlayerInterior(plyid, interiorid);
    PlayerInfo[plyid][pInt] = interiorid;

    Spoiler anzeigen
    if(interiorid == 0)
    {
    PlayerInfo[plyid][pInt] = 0;

    Spoiler anzeigen
    if(HouseEntered[plyid] != 9999)
    HouseEntered[plyid] = 9999;

    Spoiler anzeigen
    if(BizzEntered[plyid] != 9999)
    BizzEntered[plyid] = 9999;
    }

    Spoiler anzeigen
    return 1;
    }

    Spoiler anzeigen

    public LoadProperty()
    {
    new arrCoords[30][64];
    new strFromFile2[256];
    new File: file = fopen("/cfg/property.cfg", io_read);
    new string1[256];
    if (file)
    {
    new idx;
    while (idx < sizeof(HouseInfo))
    {
    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, ',');
    HouseInfo[idx][hEntrancex] = floatstr(arrCoords[0]);
    HouseInfo[idx][hEntrancey] = floatstr(arrCoords[1]);
    HouseInfo[idx][hEntrancez] = floatstr(arrCoords[2]);
    HouseInfo[idx][hExitx] = floatstr(arrCoords[3]);
    HouseInfo[idx][hExity] = floatstr(arrCoords[4]);
    HouseInfo[idx][hExitz] = floatstr(arrCoords[5]);
    HouseInfo[idx][hHealthx] = strval(arrCoords[6]);
    HouseInfo[idx][hHealthy] = strval(arrCoords[7]);
    HouseInfo[idx][hHealthz] = strval(arrCoords[8]);
    HouseInfo[idx][hArmourx] = strval(arrCoords[9]);
    HouseInfo[idx][hArmoury] = strval(arrCoords[10]);
    HouseInfo[idx][hArmourz] = strval(arrCoords[11]);
    strmid(HouseInfo[idx][hOwner], arrCoords[12], 0, strlen(arrCoords[12]), 255);
    strmid(HouseInfo[idx][hDiscription], arrCoords[13], 0, strlen(arrCoords[13]), 255);
    HouseInfo[idx][hValue] = strval(arrCoords[14]);
    HouseInfo[idx][hHel] = strval(arrCoords[15]);
    HouseInfo[idx][hArm] = strval(arrCoords[16]);
    HouseInfo[idx][hInt] = strval(arrCoords[17]);
    HouseInfo[idx][hLock] = strval(arrCoords[18]);
    HouseInfo[idx][hOwned] = strval(arrCoords[19]);
    HouseInfo[idx][hRooms] = strval(arrCoords[20]);
    HouseInfo[idx][hRent] = strval(arrCoords[21]);
    HouseInfo[idx][hRentabil] = strval(arrCoords[22]);
    HouseInfo[idx][hTakings] = strval(arrCoords[23]);
    HouseInfo[idx][hVec] = strval(arrCoords[24]);
    if(HouseInfo[idx][hVec] == 457)
    {
    HouseInfo[idx][hVec] = 411;
    }
    HouseInfo[idx][hVcol1] = strval(arrCoords[25]);
    HouseInfo[idx][hVcol2] = strval(arrCoords[26]);
    HouseInfo[idx][hDate] = strval(arrCoords[27]);
    HouseInfo[idx][hLevel] = strval(arrCoords[28]);
    HouseInfo[idx][hVW] = strval(arrCoords[29]);
    printf("HouseInfo:%d Besitzer:%s hTakings: %d hVec: %d",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hTakings],HouseInfo[idx][hVec]);
    idx++;
    }
    new text[50];
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(HouseInfo[h][hRentabil] == 1) { text="Ja"; }
    else if(HouseInfo[h][hRentabil] == 0) { text="Nein"; }
    if(HouseInfo[h][hOwned] == 0)
    {
    new LocationZone[MAX_ZONE_NAME];
    Get2DZone(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],LocationZone,MAX_ZONE_NAME);
    format(string1, sizeof(string1), ""ZELENA"[HAUS]\n "TEXT"Preis: "ZELENA"%d€\n"TEXT"Beschreibung: "ZELENA"%s\n"TEXT"Level: "ZELENA"%d |"TEXT"| Adresse:"ZELENA" %s\n"TEXT"Kaufen: "ZELENA"/buyhaus",HouseInfo[h][hValue],HouseInfo[h][hDiscription],HouseInfo[h][hLevel],LocationZone);
    housesale[h] = Create3DTextLabel(string1,0x67B4B4FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,20,0,1);
    pickups++;
    }
    if(HouseInfo[h][hOwned] == 1)
    {
    new LocationZone[MAX_ZONE_NAME];
    Get2DZone(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],LocationZone,MAX_ZONE_NAME);
    format(string1, sizeof(string1), ""ZELENA"[HAUS]\n"BIJELA"Besitzer: "CRVENA"%s\n"BIJELA"Beschreibung: "CRVENA"%s\n"BIJELA"Mietbar: "CRVENA"%s\n"BIJELA"Adresse: "CRVENA"%s",HouseInfo[h][hOwner],HouseInfo[h][hDiscription],text,LocationZone);
    housesale[h] = Create3DTextLabel(string1,0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,20,0,1);
    pickups++;
    }
    }
    fclose(file);
    }
    return 1;
    }

    Spoiler anzeigen
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(HouseInfo[h][hOwned] == 0)
    {
    CreateDynamicPickup(1273, 0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
    pickups++;
    }
    if(HouseInfo[h][hOwned] == 1)
    {
    CreateDynamicPickup(1559, 0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
    pickups++;
    }
    }

    Spoiler anzeigen

    public DateProp(playerid)
    {
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    new curdate = getdate();
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if (strcmp(playername, HouseInfo[h][hOwner], true) == 0)
    {
    HouseInfo[h][hDate] = curdate;
    OnPropUpdate();
    }
    }
    return 1;
    }

    Spoiler anzeigen
    public Checkprop()
    {
    new olddate;
    new string[128];
    new curdate = getdate();
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(HouseInfo[h][hOwned] == 1 && HouseInfo[h][hDate] > 9)
    {
    olddate = HouseInfo[h][hDate];
    if(curdate-olddate >= 5)
    {
    HouseInfo[h][hHel] = 0;
    HouseInfo[h][hArm] = 0;
    HouseInfo[h][hHealthx] = 0;
    HouseInfo[h][hHealthy] = 0;
    HouseInfo[h][hHealthz] = 0;
    HouseInfo[h][hArmourx] = 0;
    HouseInfo[h][hArmoury] = 0;
    HouseInfo[h][hArmourz] = 0;
    HouseInfo[h][hLock] = 1;
    HouseInfo[h][hOwned] = 0;
    HouseInfo[h][hVec] = 418;
    HouseInfo[h][hVcol1] = -1;
    HouseInfo[h][hVcol2] = -1;
    strmid(HouseInfo[h][hOwner], "Staat", 0, strlen("Staat"), 255);
    format(string, sizeof(string), "INFO: Ein Haus in Wert von %d€ ist verfügbar.",HouseInfo[h][hValue]);
    SendClientMessageToAll(COLOR_ZELENA, string);
    OnPropUpdate();
    }
    }
    }
    return 1;
    }

    Spoiler anzeigen

    public OnPropUpdate()
    {
    new idx;
    new File: file2;
    while (idx < sizeof(HouseInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%d,%d,%d,%d,%d,%d,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
    HouseInfo[idx][hEntrancex],
    HouseInfo[idx][hEntrancey],
    HouseInfo[idx][hEntrancez],
    HouseInfo[idx][hExitx],
    HouseInfo[idx][hExity],
    HouseInfo[idx][hExitz],
    HouseInfo[idx][hHealthx],
    HouseInfo[idx][hHealthy],
    HouseInfo[idx][hHealthz],
    HouseInfo[idx][hArmourx],
    HouseInfo[idx][hArmoury],
    HouseInfo[idx][hArmourz],
    HouseInfo[idx][hOwner],
    HouseInfo[idx][hDiscription],
    HouseInfo[idx][hValue],
    HouseInfo[idx][hHel],
    HouseInfo[idx][hArm],
    HouseInfo[idx][hInt],
    HouseInfo[idx][hLock],
    HouseInfo[idx][hOwned],
    HouseInfo[idx][hRooms],
    HouseInfo[idx][hRent],
    HouseInfo[idx][hRentabil],
    HouseInfo[idx][hTakings],
    HouseInfo[idx][hVec],
    HouseInfo[idx][hVcol1],
    HouseInfo[idx][hVcol2],
    HouseInfo[idx][hDate],
    HouseInfo[idx][hLevel],
    HouseInfo[idx][hVW]);
    if(idx == 0)
    {
    file2 = fopen("/cfg/property.cfg", io_write);
    }
    else
    {
    file2 = fopen("/cfg/property.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(StanInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
    StanInfo[idx][sEntrancex],
    StanInfo[idx][sEntrancey],
    StanInfo[idx][sEntrancez],
    StanInfo[idx][sExitx],
    StanInfo[idx][sExity],
    StanInfo[idx][sExitz],
    StanInfo[idx][sOwner],
    StanInfo[idx][sDiscription],
    StanInfo[idx][sValue],
    StanInfo[idx][sInt],
    StanInfo[idx][sLock],
    StanInfo[idx][sOwned],
    StanInfo[idx][sRooms],
    StanInfo[idx][sRent],
    StanInfo[idx][sRentabil],
    StanInfo[idx][sTakings],
    StanInfo[idx][sDate],
    StanInfo[idx][sLevel],
    StanInfo[idx][sVWstan]);
    if(idx == 0)
    {
    file2 = fopen("/cfg/wohnungen.cfg", io_write);
    }
    else
    {
    file2 = fopen("/cfg/wohnungen.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(BizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    BizzInfo[idx][bOwned],
    BizzInfo[idx][bOwner],
    BizzInfo[idx][bMessage],
    BizzInfo[idx][bExtortion],
    BizzInfo[idx][bEntranceX],
    BizzInfo[idx][bEntranceY],
    BizzInfo[idx][bEntranceZ],
    BizzInfo[idx][bExitX],
    BizzInfo[idx][bExitY],
    BizzInfo[idx][bExitZ],
    BizzInfo[idx][bLevelNeeded],
    BizzInfo[idx][bBuyPrice],
    BizzInfo[idx][bEntranceCost],
    BizzInfo[idx][bTill],
    BizzInfo[idx][bLocked],
    BizzInfo[idx][bInterior],
    BizzInfo[idx][bProducts],
    BizzInfo[idx][bMaxProducts],
    BizzInfo[idx][bPriceProd],
    BizzInfo[idx][bVWb]);
    if(idx == 0)
    {
    file2 = fopen("/cfg/firmen.cfg", io_write);
    }
    else
    {
    file2 = fopen("/cfg/firmen.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(SBizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    SBizzInfo[idx][sbOwned],
    SBizzInfo[idx][sbOwner],
    SBizzInfo[idx][sbMessage],
    SBizzInfo[idx][sbExtortion],
    SBizzInfo[idx][sbEntranceX],
    SBizzInfo[idx][sbEntranceY],
    SBizzInfo[idx][sbEntranceZ],
    SBizzInfo[idx][sbLevelNeeded],
    SBizzInfo[idx][sbBuyPrice],
    SBizzInfo[idx][sbEntranceCost],
    SBizzInfo[idx][sbTill],
    SBizzInfo[idx][sbLocked],
    SBizzInfo[idx][sbInterior],
    SBizzInfo[idx][sbProducts],
    SBizzInfo[idx][sbMaxProducts],
    SBizzInfo[idx][sbPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("/cfg/firmen2.cfg", io_write);
    }
    else
    {
    file2 = fopen("/cfg/firmen2.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    return 1;
    }

    Spoiler anzeigen
    if(strcmp(cmd, "/open", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    for(new i = 0; i < sizeof(HouseInfo); i++)
    {
    if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]) || PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
    {
    if(PlayerInfo[playerid][pPhousekey] == i)
    {
    if(HouseInfo[i][hLock] == 1)
    {
    HouseInfo[i][hLock] = 0;
    GameTextForPlayer(playerid, "~w~Tuer ~g~aufgeschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    if(HouseInfo[i][hLock] == 0)
    {
    HouseInfo[i][hLock] = 1;
    GameTextForPlayer(playerid, "~w~Tuer ~r~geschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    }
    else
    {
    GameTextForPlayer(playerid, "~r~Du hast keine Schluessel", 5000, 6);
    return 1;
    }
    }
    }
    for(new i = 0; i < sizeof(StanInfo); i++)
    {
    if (PlayerToPoint(3, playerid,StanInfo[i][sEntrancex], StanInfo[i][sEntrancey], StanInfo[i][sEntrancez]) || PlayerToPoint(3, playerid,StanInfo[i][sExitx], StanInfo[i][sExity], StanInfo[i][sExitz]))
    {
    if(PlayerInfo[playerid][pWohnung] == i)
    {
    if(StanInfo[i][sLock] == 1)
    {
    StanInfo[i][sLock] = 0;
    GameTextForPlayer(playerid, "~w~Tuer ~g~aufgeschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    if(StanInfo[i][sLock] == 0)
    {
    StanInfo[i][sLock] = 1;
    GameTextForPlayer(playerid, "~w~Tuer ~r~geschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    }
    else
    {
    GameTextForPlayer(playerid, "~r~Du hast keine Schluessel", 5000, 6);
    return 1;
    }
    }
    }
    for(new i = 0; i < sizeof(BizzInfo); i++)
    {
    if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) || PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
    {
    if(PlayerInfo[playerid][pPbiskey] == i)
    {
    if(BizzInfo[i][bLocked] == 1)
    {
    BizzInfo[i][bLocked] = 0;
    GameTextForPlayer(playerid, "~w~Firma ~g~geoeffnet", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    if(BizzInfo[i][bLocked] == 0)
    {
    BizzInfo[i][bLocked] = 1;
    GameTextForPlayer(playerid, "~w~Firma ~r~geschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    }
    else
    {
    GameTextForPlayer(playerid, "~r~Du hast keine Schluessel", 5000, 6);
    return 1;
    }
    }
    }
    for(new i = 0; i < sizeof(SBizzInfo); i++)
    {
    if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
    {
    if(PlayerInfo[playerid][pPbiskey] == i+100)
    {
    if(SBizzInfo[i][sbLocked] == 1)
    {
    SBizzInfo[i][sbLocked] = 0;
    GameTextForPlayer(playerid, "~w~Firma ~g~geoeffnet", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    if(SBizzInfo[i][sbLocked] == 0)
    {
    SBizzInfo[i][sbLocked] = 1;
    GameTextForPlayer(playerid, "~w~Firma ~r~geschlossen", 5000, 4);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    return 1;
    }
    }
    else
    {
    GameTextForPlayer(playerid, "~r~Du hast keine Schluessel", 5000, 6);
    return 1;
    }
    }
    }
    }
    return 1;
    }

    Spoiler anzeigen
    if(strcmp(cmd, "/rentroom", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    new Float:oldposx, Float:oldposy, Float:oldposz;
    GetPlayerName(playerid, playername, sizeof(playername));
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(PlayerToPoint(2.0, playerid, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]) && HouseInfo[h][hOwned] == 1 && HouseInfo[h][hRentabil] == 1)
    {
    if(PlayerInfo[playerid][pPhousekey] != 255 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
    {
    SendClientMessage(playerid, COLOR_CRVENA, "[ERROR]:Du hast bereits ein Haus, verwende /sellhouse um es zu verkaufen!.");
    return 1;
    }
    if (PlayerInfo[playerid][pPerso] < 1)
    {
    SendClientMessage(playerid,COLOR_INFO,"Du hast keinen Personalausweis, du kannst ihn dir in der Stadthalle holen.");
    return 1;
    }
    if(GetPlayerCash(playerid) > HouseInfo[h][hRent])
    {
    PlayerInfo[playerid][pPhousekey] = h;
    GivePlayerCash(playerid,-HouseInfo[h][hRent]);
    HouseInfo[h][hTakings] = HouseInfo[h][hTakings]+HouseInfo[h][hRent];
    PlayerPlayMusic(playerid);
    SetPlayerInterior(playerid,HouseInfo[h][hInt]);
    SetPlayerPos(playerid,HouseInfo[h][hExitx],HouseInfo[h][hExity],HouseInfo[h][hExitz]);
    GameTextForPlayer(playerid, "~w~Willkommen zuhause~n~Du kannst das Haus mit /exit verlassen", 5000, 3);
    PlayerInfo[playerid][pInt] = HouseInfo[h][hInt];
    PlayerInfo[playerid][pLocal] = h;
    SendClientMessage(playerid, COLOR_WHITE, "Herzlichen Glückwunsch !");
    SendClientMessage(playerid, COLOR_WHITE, "Verwende /houseinfo um zu sehen welche Befehle verfügbar sind!");
    OnPlayerUpdate(playerid);
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_CRVENA, "[ERROR]:Du hast nicht genug Geld");
    return 1;
    }
    }
    }
    }
    return 1;
    }
    // stan
    if(strcmp(cmd, "/einmieten", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    new Float:oldposx, Float:oldposy, Float:oldposz;
    GetPlayerName(playerid, playername, sizeof(playername));
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    for(new h = 0; h < sizeof(StanInfo); h++)
    {
    if(PlayerToPoint(2.0, playerid, StanInfo[h][sEntrancex], StanInfo[h][sEntrancey], StanInfo[h][sEntrancez]) && StanInfo[h][sOwned] == 1 && StanInfo[h][sRentabil] == 1)
    {
    if(PlayerInfo[playerid][pWohnung] != 255 && strcmp(playername, StanInfo[PlayerInfo[playerid][pWohnung]][sOwner], true) == 0)
    {
    SendClientMessage(playerid, COLOR_CRVENA, "[ERROR]:Du hast bereits eine Wohnung, also kannst du diese nicht mieten.");
    return 1;
    }
    if (PlayerInfo[playerid][pPerso] < 1)
    {
    SendClientMessage(playerid,COLOR_INFO,"Du hast keinen Personalausweis, du kannst ihn dir in der Stadthalle holen.");
    return 1;
    }
    if(GetPlayerCash(playerid) > StanInfo[h][sRent])
    {
    PlayerInfo[playerid][pWohnung] = h;
    GivePlayerCash(playerid,-StanInfo[h][sRent]);
    StanInfo[h][sTakings] = StanInfo[h][sTakings]+StanInfo[h][sRent];
    PlayerPlayMusic(playerid);
    SetPlayerInterior(playerid,StanInfo[h][sInt]);
    SetPlayerPos(playerid,StanInfo[h][sExitx],StanInfo[h][sExity],StanInfo[h][sExitz]);
    GameTextForPlayer(playerid, "~w~Willkommen zuhause~n~Du kannst die Wohnung mit /exit verlassen", 5000, 3);
    PlayerInfo[playerid][pInt] = StanInfo[h][sInt];
    PlayerInfo[playerid][pLocal] = h;
    SendClientMessage(playerid, COLOR_WHITE, "Du mietest nun eine Wohnung!");
    OnPlayerUpdate(playerid);
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_CRVENA, "[ERROR]:Du hast nicht genug Geld");
    return 1;
    }
    }
    }
    }
    return 1;
    }

    Immernoch nicht :o
    Habe Oben :
    #include <streamer>
    Und in Pawno -> Includes -> streamer.inc
    & in Includes -> streamer.inc


    /edit :
    Jetzt Gehts, Kein Plan Warum :D
    Danke dir!
    P.s Was geht mir der Sa-mp.de Forum Uhr ab?
    23:36 ? :D

    Hey,
    Was kann ich bei diesen Errors machen?

    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(9610) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10220) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10225) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10233) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10238) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10246) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10251) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10259) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10264) : error 017: undefined symbol "CreateDynamicPickup"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10269) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10270) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10271) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10272) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10273) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10274) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10275) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10276) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10277) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10278) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10279) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10280) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10281) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10282) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10283) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Dominik\Desktop\server gamemode\sunsetcity.pwn(10284) : error 017: undefined symbol "CreateDynamicObject"


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



    25 Errors.

    Hey,
    Wollte Fragen wie ich das in mein "Tankstellen 'System'" einbaue?

    Spoiler anzeigen
    Jedes FAhrzeug hat einen Eigenen Tank :

    Tanks :
    Spoiler anzeigen

    new GasMax[] = {
    60, //"Landstalker",
    50,//"Bravura",
    50,//"Buffalo",
    110,//"Linerunner",
    45,//"Pereniel",
    50,//"Sentinel",
    200,//"Dumper",
    80,//"Firetruck",
    75,//"Trashmaster",
    60,//"Stretch",
    40,//"Manana",
    50,//"Infernus",
    50,//"Voodoo",
    90,//"Pony",
    90,//"Mule",
    48,//"Cheetah",
    70,//"Ambulance",
    60,//"Leviathan",
    60,//"Moonbeam",
    50,//"Esperanto",
    45,//"Taxi",
    40,//"Washington",
    60,//"Bobcat",
    64,//"Mr Whoopee",
    60,//"BF Injection",
    250,//"Hunter",
    50,//"Premier",
    80,//"Enforcer",
    70,//"Securicar",
    52,//"Banshee",
    50,//"Predator",
    80,//"Bus",
    100,//"Rhino",
    50,//"Barracks",
    55,//"Hotknife",
    100,//"Trailer",
    58,//"Previon",
    95,//"Coach",
    48,//"Cabbie",
    45,//"Stallion",
    70,//"Rumpo",
    100,//"RC Bandit",
    50,//"Romero",
    130,//"Packer",
    120,//"Monster Truck",
    45,//"Admiral",
    50,//"Squalo",
    80,//"Seasparrow",
    30,//"Pizzaboy",
    100,//"Tram",
    100,//"Trailer",
    55,//"Turismo",
    55,//"Speeder",
    60,//"Reefer",
    60,//"Tropic",
    160,//"Flatbed",
    80,//"Yankee",
    20,//"Caddy",
    48,//"Solair",
    75,//"Berkley's RC Van",
    100,//"Skimmer",
    50,//"PCJ-600",
    20,//"Roller",
    45,//"Freeway",
    100,//"RC Baron",
    100,//"RC Raider",
    60,//"Glendale",
    55,//"Oceanic",
    45,//"Sanchez",
    80,//"Sparrow",
    95,//"Patriot",
    25,//"Quad",
    50,//"Coastguard",
    50,//"Dinghy",
    50,//"Hermes",
    55,//"Sabre",
    90,//"Rustler",
    60,//"ZR-350",
    60,//"Walton",
    58,//"Regina",
    55,//"Comet",
    100,//"Fahrrad",
    100,//"Burrito",
    100,//"Camper",
    60,//"Marquis",
    35,//"Baggage",
    150,//"Dozer",
    100,//"Maverick",
    100,//"News Chopper",
    80,//"Rancher",
    80,//"FBI Rancher",
    50,//"Virgo",
    50,//"Greenwood",
    100,//"Jetmax",
    70,//"Hotring",
    80,//"Sandking",
    50,//"Blista Compact",
    80,//"Police Maverick",
    80,//"Boxville",
    58,//"Benson",
    80,//"Mesa",
    100,//"RC Goblin",
    75,//"Hotring Racer",
    75,//"Hotring Racer",
    75,//"Bloodring Banger",
    75,//"Rancher",
    60,//"Super GT",
    45,//"Elegant",
    110,//"Journey",
    100,//"Bike",
    100,//"Mountain Bike",
    50,//"Beagle",
    50,//"Cropdust",
    50,//"Stunt",
    140,//"Tanker",
    100,//"RoadTrain",
    50,//"Nebula",
    50,//"Majestic",
    48,//"Buccaneer",
    150,//"Shamal",
    175,//"Hydra",
    45,//"FCR-900",
    45,//"NRG-500",
    48,//"HPV1000",
    135,//"Cement Truck",
    75,//"Tow Truck",
    60,//"Fortune",
    60,//"Cadrona",
    65,//"FBI Truck",
    55,//"Willard",
    30,//"Forklift",
    35,//"Traktor",
    60,//"Combine",
    50,//"Feltzer",
    50,//"Remington",
    55,//"Slamvan",
    55,//"Blade",
    100,//"Freight",
    100,//"Streak",
    100,//"Vortex",
    48,//"Vincent",
    55,//"Bullet",
    58,//"Clover",
    60,//"Sadler",
    90,//"Firetruck",
    60,//"Hustler",
    50,//"Intruder",
    40,//"Primo",
    130,//"Cargobob",
    60,//"Tampa",
    60,//"Sunrise",
    60,//"Merit",
    100,//"Utility",
    50,//"Nevada",
    80,//"Yosemite",
    60,//"Windsor",
    100,//"Monster Truck",
    100,//"Monster Truck",
    55,//"Uranus",
    60,//"Jester",
    60,//"Sultan",
    60,//"Stratum",
    60,//"Elegy",
    150,//"Raindance",
    100,//"RC Tiger",
    50,//"Flash",
    50,//"Tahoma",
    55,//"Savanna",
    60,//"Bandito",
    100,//"Freight",
    100,//"Trailer",
    20,//"Kart",
    20,//"Mower",
    200,//"Duneride",
    35,//"Sweeper",
    50,//"Broadway",
    50,//"Tornado",
    200,//"AT-400",
    200,//"DFT-30",
    65,//"Huntley",
    60,//"Stafford",
    40,//"BF-400",
    70,//"Newsvan",
    30,//"Tug",
    100,//"Trailer",
    50,//"Emperor",
    40,//"Wayfarer",
    60,//"Euros",
    90,//"Hotdog",
    60,//"Club",
    100,//"Trailer",
    100,//"Trailer",
    200,//"Andromada",
    95,//"Dodo",
    100,//"RC Cam",
    50,//"Launch",
    60,//"Streifenwagen",
    60,//"Streifenwagen",
    60,//"Streifenwagen",
    75,//"Polizei Ranger",
    50,//"Picador",
    75,//"S.W.A.T. Van",
    55,//"Alpha",
    55,//"Phoenix",
    50,//"Glendale",
    50,//"Sadler",
    100,//"Luggage Trailer",
    100,//"Luggage Trailer",
    100,//"Stair Trailer",
    52,//"Boxville",
    100,//"Farm Plow",
    100//"Utility Trailer"
    };


    Fill Timer

    Spoiler anzeigen
    public Fillup(playerid)
    {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(Refueling[i] == 1)
    {
    new vid = GetPlayerVehicleID(i);
    new FillUp = 100-Gas[vid];
    new FillUpPrice = FillUp*SPRITPREIS;
    new string[256];
    Gas[vid] += FillUp;
    Refueling[i] = 0;
    TogglePlayerControllable(i,1);
    GivePlayerMoney(i, -FillUpPrice);
    format(string, sizeof(string), "Fahrzeug für %i€ Betankt!", FillUpPrice);
    SendClientMessage(playerid, COLOR_WHITE, string);
    UnFreezePlayer(playerid);
    }
    }
    }
    return 1;
    }


    LG
    Crocky

    Doch? oder ? :o
    ..... 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);.....

    Nein ich Speicher das ja :D
    Zeilen :
    stock UpdateHouseLabel(i)
    {
    new str[128];
    if(!HouseInfo[i][hOwned]) format(str, sizeof str, "%s\nZum Verkauf\nPreis: %d€", HouseInfo[i][hDescr], HouseInfo[i][hPrice]);
    else if(HouseInfo[i][hOwned] && !HouseInfo[i][hRentable]) format(str, sizeof str, "%s\nBesitzer: %s", HouseInfo[i][hDescr],HouseInfo[i][hOwner]);
    else if(HouseInfo[i][hOwned] && HouseInfo[i][hRentable]) format(str, sizeof str, "%s\nBesitzer: %s\nMiete: %d€\n/mieten zum Mieten", HouseInfo[i][hDescr],HouseInfo[i][hOwner], HouseInfo[i][hRent]);
    UpdateDynamic3DTextLabelText(HouseInfo[i][hLabel], COLOR_HOUSELABEL, str);
    return 1;
    }
    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!");
    UpdateHouseLabel(i);
    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;
    }

    Will aber das Beim Fillup das Wieder So ist wie Vorher .. alle haben nen Verschiedenen Tank

    Spoiler anzeigen

    new GasMax[] = {
    60, //"Landstalker",
    50,//"Bravura",
    50,//"Buffalo",
    110,//"Linerunner",
    45,//"Pereniel",
    50,//"Sentinel",
    200,//"Dumper",
    80,//"Firetruck",
    75,//"Trashmaster",
    60,//"Stretch",
    40,//"Manana",
    50,//"Infernus",
    50,//"Voodoo",
    90,//"Pony",
    90,//"Mule",
    48,//"Cheetah",
    70,//"Ambulance",
    60,//"Leviathan",
    60,//"Moonbeam",
    50,//"Esperanto",
    45,//"Taxi",
    40,//"Washington",
    60,//"Bobcat",
    64,//"Mr Whoopee",
    60,//"BF Injection",
    250,//"Hunter",
    50,//"Premier",
    80,//"Enforcer",
    70,//"Securicar",
    52,//"Banshee",
    50,//"Predator",
    80,//"Bus",
    100,//"Rhino",
    50,//"Barracks",
    55,//"Hotknife",
    100,//"Trailer",
    58,//"Previon",
    95,//"Coach",
    48,//"Cabbie",
    45,//"Stallion",
    70,//"Rumpo",
    100,//"RC Bandit",
    50,//"Romero",
    130,//"Packer",
    120,//"Monster Truck",
    45,//"Admiral",
    50,//"Squalo",
    80,//"Seasparrow",
    30,//"Pizzaboy",
    100,//"Tram",
    100,//"Trailer",
    55,//"Turismo",
    55,//"Speeder",
    60,//"Reefer",
    60,//"Tropic",
    160,//"Flatbed",
    80,//"Yankee",
    20,//"Caddy",
    48,//"Solair",
    75,//"Berkley's RC Van",
    100,//"Skimmer",
    50,//"PCJ-600",
    20,//"Roller",
    45,//"Freeway",
    100,//"RC Baron",
    100,//"RC Raider",
    60,//"Glendale",
    55,//"Oceanic",
    45,//"Sanchez",
    80,//"Sparrow",
    95,//"Patriot",
    25,//"Quad",
    50,//"Coastguard",
    50,//"Dinghy",
    50,//"Hermes",
    55,//"Sabre",
    90,//"Rustler",
    60,//"ZR-350",
    60,//"Walton",
    58,//"Regina",
    55,//"Comet",
    100,//"Fahrrad",
    100,//"Burrito",
    100,//"Camper",
    60,//"Marquis",
    35,//"Baggage",
    150,//"Dozer",
    100,//"Maverick",
    100,//"News Chopper",
    80,//"Rancher",
    80,//"FBI Rancher",
    50,//"Virgo",
    50,//"Greenwood",
    100,//"Jetmax",
    70,//"Hotring",
    80,//"Sandking",
    50,//"Blista Compact",
    80,//"Police Maverick",
    80,//"Boxville",
    58,//"Benson",
    80,//"Mesa",
    100,//"RC Goblin",
    75,//"Hotring Racer",
    75,//"Hotring Racer",
    75,//"Bloodring Banger",
    75,//"Rancher",
    60,//"Super GT",
    45,//"Elegant",
    110,//"Journey",
    100,//"Bike",
    100,//"Mountain Bike",
    50,//"Beagle",
    50,//"Cropdust",
    50,//"Stunt",
    140,//"Tanker",
    100,//"RoadTrain",
    50,//"Nebula",
    50,//"Majestic",
    48,//"Buccaneer",
    150,//"Shamal",
    175,//"Hydra",
    45,//"FCR-900",
    45,//"NRG-500",
    48,//"HPV1000",
    135,//"Cement Truck",
    75,//"Tow Truck",
    60,//"Fortune",
    60,//"Cadrona",
    65,//"FBI Truck",
    55,//"Willard",
    30,//"Forklift",
    35,//"Traktor",
    60,//"Combine",
    50,//"Feltzer",
    50,//"Remington",
    55,//"Slamvan",
    55,//"Blade",
    100,//"Freight",
    100,//"Streak",
    100,//"Vortex",
    48,//"Vincent",
    55,//"Bullet",
    58,//"Clover",
    60,//"Sadler",
    90,//"Firetruck",
    60,//"Hustler",
    50,//"Intruder",
    40,//"Primo",
    130,//"Cargobob",
    60,//"Tampa",
    60,//"Sunrise",
    60,//"Merit",
    100,//"Utility",
    50,//"Nevada",
    80,//"Yosemite",
    60,//"Windsor",
    100,//"Monster Truck",
    100,//"Monster Truck",
    55,//"Uranus",
    60,//"Jester",
    60,//"Sultan",
    60,//"Stratum",
    60,//"Elegy",
    150,//"Raindance",
    100,//"RC Tiger",
    50,//"Flash",
    50,//"Tahoma",
    55,//"Savanna",
    60,//"Bandito",
    100,//"Freight",
    100,//"Trailer",
    20,//"Kart",
    20,//"Mower",
    200,//"Duneride",
    35,//"Sweeper",
    50,//"Broadway",
    50,//"Tornado",
    200,//"AT-400",
    200,//"DFT-30",
    65,//"Huntley",
    60,//"Stafford",
    40,//"BF-400",
    70,//"Newsvan",
    30,//"Tug",
    100,//"Trailer",
    50,//"Emperor",
    40,//"Wayfarer",
    60,//"Euros",
    90,//"Hotdog",
    60,//"Club",
    100,//"Trailer",
    100,//"Trailer",
    200,//"Andromada",
    95,//"Dodo",
    100,//"RC Cam",
    50,//"Launch",
    60,//"Streifenwagen",
    60,//"Streifenwagen",
    60,//"Streifenwagen",
    75,//"Polizei Ranger",
    50,//"Picador",
    75,//"S.W.A.T. Van",
    55,//"Alpha",
    55,//"Phoenix",
    50,//"Glendale",
    50,//"Sadler",
    100,//"Luggage Trailer",
    100,//"Luggage Trailer",
    100,//"Stair Trailer",
    52,//"Boxville",
    100,//"Farm Plow",
    100//"Utility Trailer"
    };