Frage Interiors

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Com .


    Ich wollte mal fragen wie und wo im script ich Interiors ersetztetn kann. (DINI)
    Z.b ich downloade mir von dem Forum hier ein bank INT wo halt CreateObjects drinne sind und wie ersetzt man dann das jetzige interor

  • Man ersetzt nichts, man teleportiert einfach per SetPlayerPos(), SetPlayerInterior() und SetPlayerVirtualWorld() dort hin.

  • Schau dir die Parameter von CreateObject() an. Dort steht die X, Y und Z Koordinate und u. U. der Interior und die Virtual World. Meist sind aber die meisten Interiors in allen Interiors und alles Virtual Worlds vorhanden, dann sind SetPlayerInterior() und SetPlayerVirtualWorld() schnuppe. Man kann aber alles anpassen. Musst dir eben dir Parameter anschauen.

  • und in deutsch ?


    Und wie erklahrt sich das.
    Habe Noobspawn 24/7 Enter sind die Kordinarten z.B 4,2.3.1 und Exit 123


    Beim BSN sins die enter kord 4,3.794 und exit 372.


    Warum wenn ich bei dem 24/7 noobspawn reingehe komme ich bei bsn raus

  • Du musst dir die GTA:Karte wie einen Kasten vorstellen. Unten ist die Karte die man so kennt, Pershing Square, Idlewood, Market, ...


    Oben im Himmel versteckt sind die Interiors. D.h. wenn man in einen Interior geht, dann springt man irgendwo in den Himmel. Wenn man nun einen Interior mappt ist das nicht anders. Der ist irgendwo im Himmel. Nehmen wir an das ist ein Objekt des Interiors:


    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);


    So, nun springst du eben zu diesen Koordinaten:


    SetPlayerPos(playerid, 2001.195679, 1547.113892, 14.2834009);


    Einen genauen Spawnpunkt kannst du ja später In-Game per /save festlegen. Oder du haust erst den Interior in ein Mapping Programm /save'st dort und nimmst direkt diese Koordinaten.

  • Da hast du doch auch CreateObject() und X, Y und Z Koordinaten. Was ist das Problem?

  • Ja, du musst dich eben irgendwie dort hinteleportieren. Wie du das machst, das bleibt dir überlassen.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Campbell



    /Schwimmbad
    //Texturen - Boden Schimmbecken, Schimmbeckenrand
    new sbadboden1 = CreateDynamicObject(19340, -6559.32373, 605.33514, -1.13280, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadboden1, 0, 10932, "station_sfse", "ws_stationfloor", 0xFFFFFFFF);
    new sbadboden2 = CreateDynamicObject(19340, -6508.49023, 514.71777, -1.13280, 0.00000, 0.00000, 180.00000);
    SetDynamicObjectMaterial(sbadboden2, 0, 10932, "station_sfse", "ws_stationfloor", 0xFFFFFFFF);
    new sbadboden3 = CreateDynamicObject(19340, -6509.33252, 581.49048, -8.07280, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadboden3, 0, 10932, "station_sfse", "ws_stationfloor", 0xFFFFFFFF);
    new sbadboden4 = CreateDynamicObject(19340, -6516.16016, 614.10413, -16.19280, -10.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadboden4, 0, 10932, "station_sfse", "ws_stationfloor", 0xFFFFFFFF);

    //Texturen - Wand [Klein]
    new sbadkwand1 = CreateDynamicObject(19464, -6511.12402, 491.25110, 5.16630, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadkwand1, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand2 = CreateDynamicObject(19464, -6505.42969, 491.73819, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand2, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand3 = CreateDynamicObject(19464, -6511.12402, 503.11209, 5.16630, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadkwand3, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand4 = CreateDynamicObject(19464, -6505.41455, 490.01160, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand4, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand5 = CreateDynamicObject(19464, -6511.16406, 485.36420, 5.16630, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadkwand5, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand6 = CreateDynamicObject(19464, -6511.16797, 479.56909, 5.16630, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadkwand6, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand7 = CreateDynamicObject(19464, -6508.20117, 488.29990, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand7, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand8 = CreateDynamicObject(19464, -6505.42969, 493.45789, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand8, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand9 = CreateDynamicObject(19464, -6505.42969, 495.18661, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand9, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand10 = CreateDynamicObject(19464, -6505.42969, 496.92889, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand10, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand11 = CreateDynamicObject(19464, -6505.42969, 498.66840, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand11, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand12 = CreateDynamicObject(19464, -6505.42969, 500.36780, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand12, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand13 = CreateDynamicObject(19464, -6505.42969, 502.02829, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand13, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadkwand14 = CreateDynamicObject(19464, -6505.42432, 503.76840, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadkwand14, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);

    //Texturen - Türwand [Klein]
    new sbadktwand1 = CreateDynamicObject(19465, -6511.12402, 497.18381, 5.16630, 0.00000, 0.00000, 0.00000);
    SetDynamicObjectMaterial(sbadktwand1, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadktwand2 = CreateDynamicObject(19465, -6508.20654, 505.95209, 5.16630, 0.00000, 0.00000, 90.00000);
    SetDynamicObjectMaterial(sbadktwand2, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);

    //Texturen - Wand [Groß]
    new sbadgwand1 = CreateDynamicObject(6959, -6564.61475, 538.45386, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand1, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand2 = CreateDynamicObject(6959, -6564.61475, 578.44177, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand2, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand3 = CreateDynamicObject(6959, -6565.50732, 518.67987, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand3, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand4 = CreateDynamicObject(6959, -6545.49756, 498.65665, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand4, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand5 = CreateDynamicObject(6959, -6525.53662, 480.41672, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand5, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand6 = CreateDynamicObject(6959, -6505.67383, 496.28198, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand6, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand7 = CreateDynamicObject(6959, -6505.67383, 536.26740, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand7, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand8 = CreateDynamicObject(6959, -6505.67383, 576.24438, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand8, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand9 = CreateDynamicObject(6959, -6547.76563, 596.02191, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand9, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand10 = CreateDynamicObject(6959, -6508.00635, 596.02185, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand10, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand11 = CreateDynamicObject(6959, -6529.57861, 489.79501, 5.61140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand11, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand12 = CreateDynamicObject(6959, -6549.57373, 509.83368, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand12, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand13 = CreateDynamicObject(6959, -6508.30176, 483.84491, 25.87140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand13, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand14 = CreateDynamicObject(6959, -6511.21973, 486.05911, 26.71140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand14, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand15 = CreateDynamicObject(6959, -6491.24609, 506.09750, 26.71140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand15, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand16 = CreateDynamicObject(6959, -6508.30176, 483.84491, 25.87140, 0.00000, 90.00000, 0.00000);
    SetDynamicObjectMaterial(sbadgwand16, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);
    new sbadgwand17 = CreateDynamicObject(6959, -6491.23975, 488.07822, 5.61140, 0.00000, 90.00000, 90.00000);
    SetDynamicObjectMaterial(sbadgwand17, 0, 9906, "sfe_builda", "sl_dwntwallvic1", 0xFFFFFFFF);


    Muss man dies auch im Script einfügen?