Beiträge von Exqoolz

    Sehr geehrte Community,

    ich möchte meine Domain verkaufen, da ich keine Verwendung mehr für diese Domain habe.

    Es handelt sich um eine .de-Domain (happy-ages.de), die bei one.com gehosted wird. Auf Wunsch gibt es auch den 15 GB Webspace dazu.


    Derzeitiger Preis liegt bei 10€

    Zahlungsart: PSC


    [Folgendes muss im Thema enthalten sein und darf nicht entfernt werden:]
    ______
    Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.

    Hi,


    habe mal bissl in Trigonometrie geübt, und wollte mal fragen, ob das richtig ist? :)


    Aufgabe:


    Rechnung:


    Danke im Voraus :D

    Hast du eine mehrzeilige Meldung mit vielen Zahlen im Compiler?


    Nope, keine jeglichen Errors/Warnings :D

    Code
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    Header size:          13716 bytes
    Code size:          1071892 bytes
    Data size:          6175564 bytes
    Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 7277556 bytes

    if(Haus[houseID][hPickup] != -1) DestroyPickup(Haus[houseID][hPickup]);
    if(Haus[houseID][hText] != Text3D:-1) Delete3DTextLabel(Haus[houseID][hText]);


    Ok, das geht. Danke :D
    Aber noch ein Problem:
    stock LoadPickups()
    {
    CreatePickup(1318, 1, 1480.9752,-1771.3914,18.7958, 0); // SH AUSSEN


    CreatePickup(1318, 1, 1310.1958,-1368.6116,13.5515, 0); // Deagle Aussen
    CreatePickup(1318, 1, 2169.4863,1618.6375,999.9766, 0); // Deagle Innen


    stock Load3DTexts()
    {
    Create3DTextLabel("[ Stadthalle ]\nDrücke "COLOR_HEX_BLUE"Enter "COLOR_HEX_WHITE"zum Betreten", COLOR_WHITE, 1480.9752,-1771.3914,18.7958, 10.0, 0);


    Ongamemodeinit:
    LoadPickups();
    Load3DTexts();
    Die Pickups und Labels für Stadthalle werden nicht geladen ?(

    Hi,
    meine Häuser-Pickups werden nicht erstellt, die Labels auch nicht.
    Aber ich kann an den richtigen Positionen rein.


    public LoadHouses()
    {
    new rows, fields, count;
    cache_get_data(rows, fields);
    for(new i=0;i<rows;i++)
    {
    new houseID = cache_get_field_content_int(i, "id");
    if(houseID < MAX_HOUSES)
    {
    DestroyPickup(Haus[houseID][hPickup]);
    Delete3DTextLabel(Haus[houseID][hText]);
    Haus[houseID][hCreated] = 1;
    Haus[houseID][hdbID] = cache_get_field_content_int(i, "id");
    Haus[houseID][EnterX] = cache_get_field_content_float(i, "EnterX");
    Haus[houseID][EnterY] = cache_get_field_content_float(i, "EnterY");
    Haus[houseID][EnterZ] = cache_get_field_content_float(i, "EnterZ");
    Haus[houseID][ExitX] = cache_get_field_content_float(i, "ExitX");
    Haus[houseID][ExitY] = cache_get_field_content_float(i, "ExitY");
    Haus[houseID][ExitZ] = cache_get_field_content_float(i, "ExitZ");
    Haus[houseID][hInterior] = cache_get_field_content_int(i, "Interior");
    cache_get_field_content(i, "Besitzer", Haus[houseID][hBesitzer], myCon, 32);
    cache_get_field_content(i, "Name", Haus[houseID][hName], myCon, 32);
    Haus[houseID][hPreis] = cache_get_field_content_int(i, "Preis");
    Haus[houseID][hMieten] = cache_get_field_content_int(i, "Mieten");
    Haus[houseID][hLock] = cache_get_field_content_int(i, "Lock");
    Haus[houseID][hMietPreis] = cache_get_field_content_int(i, "MietPreis");
    Haus[houseID][hKasse] = cache_get_field_content_int(i, "Kasse");
    Haus[houseID][hOwned] = cache_get_field_content_int(i, "Owned");
    Haus[houseID][hHealthUpgrade] = cache_get_field_content_int(i, "HealthUpgrade");
    Haus[houseID][hArmorUpgrade] = cache_get_field_content_int(i, "ArmorUpgrade");
    Haus[houseID][hText] = Create3DTextLabel("Laedt ...", COLOR_ALPHA_WHITE, Haus[houseID][EnterX], Haus[houseID][EnterY], Haus[houseID][EnterZ], 20.0, 0);
    if(Haus[houseID][hOwned] == 1)
    {
    Haus[houseID][hPickup] = CreatePickup(OWNER_PICKUP, 1, Haus[houseID][EnterX], Haus[houseID][EnterY], Haus[houseID][EnterZ], 0);
    }
    else if(Haus[houseID][hOwned] == 0)
    {
    Haus[houseID][hPickup] = CreatePickup(NO_OWNER_PICKUP, 1, Haus[houseID][EnterX], Haus[houseID][EnterY], Haus[houseID][EnterZ], 0);
    }
    UpdateHouseLabel(houseID, Haus[houseID][hOwned]); // 0 = Ohne Besitzer, 1 = Besitzer
    count++;
    }
    }
    printf("[LOAD] Häuser geladen: %d/%d", count, MAX_HOUSES);
    return 1;
    }


    enum e_Haus
    {
    hCreated,
    Float:EnterX,
    Float:EnterY,
    Float:EnterZ,
    Float:ExitX,
    Float:ExitY,
    Float:ExitZ,
    hBesitzer[MAX_PLAYER_NAME],
    hOwned,
    hName[32],
    hPreis,
    hMieten,
    Text3D:hText,
    hPickup,
    hLock,
    hMietPreis,
    hInterior,
    hKasse,
    hdbID,
    hHealthUpgrade,
    hArmorUpgrade
    }
    new Haus[MAX_HOUSES][e_Haus];
    Außerdem werden mein Stadthallen-Pickups und Labels auch nicht erstellt, obwohl der Code richtig ist :?:
    Jeffry:

    Die 2 Sachen werden nicht angezeigt?
    Koordinaten sind richtig.
    CreatePickup(1318, 1, 1480.9752,-1771.3914,18.7958, 0); // SH AUSSEN
    Create3DTextLabel("[ Stadthalle ]\nDrücke "COLOR_HEX_BLUE"Enter "COLOR_HEX_WHITE"zum Betreten", COLOR_WHITE, 1480.9752,-1771.3914,18.7958, 10.0, 0);
    Sind bei den anderen Pickups und Labels dabei, alle anderen werden geladen.

    Hey,
    habe das Problem, dass die Gangzone nicht flasht, nachdem ich angegriffen habe?



    #define RM 0x9696967B
    #define GSF 0x2DC300FF


    forward UpdateGangZones();
    public UpdateGangZones()
    {
    for(new i;i<MAX_GANGZONES;i++)
    {
    if(Gangzone[i] == -1) continue;
    GangZoneHideForAll(Gangzone[i]);
    GangZoneShowForAll(Gangzone[i], GetZoneColor(Gangzones[i][gOwner]));
    if(Gangzones[i][gRunning] == 1)
    {
    GangZoneFlashForAll(Gangzone[i], GetZoneColor(Gangzones[i][gOwner]));
    }
    }
    }
    stock GetZoneColor(frakid)
    {
    if(frakid == 2) return RM;
    else if(frakid == 4) return GSF;
    else if(frakid == 0) return COLOR_WHITE;
    else return 0;
    }

    Guten Morgen,


    habe das Problem, dass die Schrift in der Box irgendwie hinter der Box steht, obwohl ich die Box als Erstes anzeigen lasse?

    Code:
    public OnPlayerSpawn(playerid)
    {
    PlayerTextDrawHide(playerid, pTextTime[playerid][0]);
    PlayerTextDrawHide(playerid, pTextTime[playerid][1]);
    PlayerTextDrawHide(playerid, pTextTime[playerid][2]);
    PlayerTextDrawHide(playerid, pTextHUD[playerid][17]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][17]);


    for(new i; i<sizeof(Gangzones); i++)
    {
    new color;
    if(Gangzones[i][gOwner] == 2){
    color = RM;
    }
    if(Gangzones[i][gOwner] == 4){
    color = GSF;
    }
    if(Gangzones[i][gOwner] == 0){
    color = 0xFFFFFFFF;
    }
    GangZoneShowForPlayer(playerid, Gangzone[i], color);
    }


    new datumstring[100], uhrstring[100], framesstring[100], bankstring[100];
    format(datumstring, sizeof(datumstring), "%02d.%02d.%04d", tag, monat, jahr);
    gettime(stunde, minute, sekunde);
    format(uhrstring, sizeof(uhrstring), "%02d:%02d:%02d", stunde, minute, sekunde);
    format(framesstring ,sizeof(framesstring), "%i", pFPS[playerid]);
    format(bankstring ,sizeof(bankstring), "%i $", Spieler[playerid][pBank]);
    PlayerTextDrawSetString(playerid, pTextHUD[playerid][10], datumstring);
    PlayerTextDrawSetString(playerid, pTextHUD[playerid][12], uhrstring);
    PlayerTextDrawSetString(playerid, pTextHUD[playerid][14], framesstring);
    PlayerTextDrawSetString(playerid, pTextHUD[playerid][16], bankstring);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][9]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][10]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][11]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][12]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][13]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][14]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][15]);
    PlayerTextDrawShow(playerid, pTextHUD[playerid][16]);
    pTextHUD[playerid][9] = CreatePlayerTextDraw(playerid, 501.000000, 128.000000, "Datum:");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][9], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][9], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][9], -1676273153);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][9], 1);


    pTextHUD[playerid][10] = CreatePlayerTextDraw(playerid, 538.000000, 128.000000, "20.06.2015");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][10], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][10], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][10], -1);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][10], 1);


    pTextHUD[playerid][11] = CreatePlayerTextDraw(playerid, 501.000000, 136.000000, "Uhrzeit:");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][11], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][11], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][11], -1676273153);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][11], 1);


    pTextHUD[playerid][12] = CreatePlayerTextDraw(playerid, 538.000000, 136.000000, "16:00");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][12], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][12], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][12], -1);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][12], 1);


    pTextHUD[playerid][13] = CreatePlayerTextDraw(playerid, 500.000000, 144.000000, "Frames:");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][13], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][13], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][13], -1676273153);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][13], 1);


    pTextHUD[playerid][14] = CreatePlayerTextDraw(playerid, 538.000000, 144.000000, "102");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][14], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][14], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][14], -1);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][14], 1);


    pTextHUD[playerid][15] = CreatePlayerTextDraw(playerid, 501.000000, 157.000000, "Bank:");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][15], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][15], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][15], -995731713);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][15], 1);


    pTextHUD[playerid][16] = CreatePlayerTextDraw(playerid, 538.000000, 157.000000, "100000 $");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][16], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][16], 0.210000, 0.899999);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][16], -1);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][16], 1);

    pTextHUD[playerid][17] = CreatePlayerTextDraw(playerid, 609.000000, 129.000000, "_");
    PlayerTextDrawFont(playerid, pTextHUD[playerid][17], 1);
    PlayerTextDrawLetterSize(playerid, pTextHUD[playerid][17], 0.519999, 3.999998);
    PlayerTextDrawColor(playerid, pTextHUD[playerid][17], -1);
    PlayerTextDrawSetOutline(playerid, pTextHUD[playerid][17], 0);
    PlayerTextDrawSetProportional(playerid, pTextHUD[playerid][17], 1);
    PlayerTextDrawSetShadow(playerid, pTextHUD[playerid][17], 0);
    PlayerTextDrawUseBox(playerid, pTextHUD[playerid][17], 1);
    PlayerTextDrawBoxColor(playerid, pTextHUD[playerid][17], 112);
    PlayerTextDrawTextSize(playerid, pTextHUD[playerid][17], 497.000000, 0.000000);