Brauche hilfe..

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
  • also ich habe im script ein haus gemappt und wollte das tor zum laufen bringen jedoch kann man das tor nicht sehen im spiel -.-


    Gemapptes Haus:
    //VIP Villa
    CreateDynamicObject(987,162.00000000,-1250.80004883,75.80000305,0.00000000,0.00000000,318.00000000); //object(elecfence_bar) (1)
    CreateDynamicObject(987,170.89999390,-1258.80004883,75.90000153,0.00000000,0.00000000,316.00000000); //object(elecfence_bar) (2)
    CreateDynamicObject(987,179.50000000,-1267.09997559,75.90000153,0.00000000,0.00000000,316.00000000); //object(elecfence_bar) (3)
    CreateDynamicObject(987,188.10000610,-1275.40002441,75.80000305,0.00000000,0.00000000,316.00000000); //object(elecfence_bar) (4)
    CreateDynamicObject(987,196.60000610,-1283.69995117,75.69999695,0.00000000,0.00000000,298.00000000); //object(elecfence_bar) (5)
    CreateDynamicObject(987,202.00000000,-1294.30004883,75.59999847,0.00000000,0.00000000,278.00000000); //object(elecfence_bar) (6)
    CreateDynamicObject(987,204.10000610,-1304.59997559,74.50000000,0.00000000,0.00000000,304.00000000); //object(elecfence_bar) (7)
    CreateDynamicObject(987,210.30000305,-1314.50000000,73.09999847,0.00000000,0.00000000,306.00000000); //object(elecfence_bar) (8)
    CreateDynamicObject(987,214.60000610,-1321.00000000,72.50000000,0.00000000,0.00000000,212.00000000); //object(elecfence_bar) (9)
    CreateDynamicObject(987,206.50000000,-1327.50000000,69.09999847,0.00000000,0.00000000,210.00000000); //object(elecfence_bar) (10)
    CreateDynamicObject(987,196.39999390,-1333.40002441,69.09999847,0.00000000,0.00000000,206.00000000); //object(elecfence_bar) (11)
    CreateDynamicObject(987,185.80000305,-1338.59997559,69.09999847,0.00000000,0.00000000,206.00000000); //object(elecfence_bar) (12)
    CreateDynamicObject(987,175.39999390,-1343.59997559,68.59999847,0.00000000,0.00000000,266.00000000); //object(elecfence_bar) (13)
    CreateDynamicObject(987,162.00000000,-1251.00000000,76.09999847,0.00000000,0.00000000,256.00000000); //object(elecfence_bar) (14)
    CreateDynamicObject(987,159.19999695,-1261.80004883,71.59999847,0.00000000,0.00000000,76.00000000); //object(elecfence_bar) (15)
    CreateDynamicObject(987,159.10000610,-1262.09997559,71.59999847,0.00000000,0.00000000,262.00000000); //object(elecfence_bar) (16)
    CreateDynamicObject(987,157.30000305,-1274.00000000,70.19999695,0.00000000,0.00000000,268.00000000); //object(elecfence_bar) (17)
    CreateDynamicObject(987,156.80000305,-1286.00000000,70.80000305,0.00000000,0.00000000,272.00000000); //object(elecfence_bar) (18)
    CreateDynamicObject(987,156.89999390,-1297.59997559,69.50000000,0.00000000,0.00000000,272.00000000); //object(elecfence_bar) (19)
    CreateDynamicObject(987,156.80000305,-1309.50000000,69.00000000,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (20)
    CreateDynamicObject(987,156.39999390,-1321.40002441,69.00000000,0.00000000,0.00000000,274.00000000); //object(elecfence_bar) (21)
    CreateDynamicObject(987,156.60000610,-1333.09997559,69.00000000,0.00000000,0.00000000,280.00000000); //object(elecfence_bar) (22)
    CreateDynamicObject(987,158.60000610,-1345.00000000,69.09999847,0.00000000,0.00000000,302.00000000); //object(elecfence_bar) (23)
    CreateDynamicObject(3749,169.69999695,-1354.40002441,74.09999847,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (1)
    CreateDynamicObject(980,1282.19995117,-616.09997559,105.09999847,0.00000000,0.00000000,37.99572754); //object(airportgate) (1)


    yaktor3 = CreateObject(980,1282.19995117,-616.09997559,105.09999847,0.00000000,0.00000000,37.99572754); //Tor 3 Zu


    und pwn quelltext:
    new yaktor;
    new yaktor2;
    new yaktor3;
    new bool:yak;
    new bool:yak2;
    new bool:yak3;


    yaktor = CreateObject(980,-2803.43945312,-329.79394531,8.81245422,0.00000000,0.00000000,85.49011230); //Tor 1 Zu
    yaktor2 = CreateObject(980,-2655.51562500,-222.05761719,6.05807400,0.00000000,0.00000000,0.00000000); //Tor 2 Zu


    if(strcmp(cmd, "/yaktor", true) == 0)
    {
    if(IsPlayerInFrac(playerid, 6))
    {
    if(yak == false)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet!");
    MoveObject(yaktor, -2803.43945312,-329.79394531,-2.81245422, 4.0),
    yak = true;
    }
    else if(yak == true)
    {
    SendClientMessage(playerid, COLOR_RED, "Tor geschlossen!");
    MoveObject(yaktor, -2803.43945312,-329.79394531,8.81245422, 4.0);
    yak = false;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Mitglied der Yakuza!");
    }
    return 1;
    }
    if(strcmp(cmd, "/yaktor2", true) == 0)
    {
    if(IsPlayerInFrac(playerid, 6))
    {
    if(yak2 == false)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet!");
    MoveObject(yaktor2, -2655.51562500,-222.05761719,-2.05807400, 4.0),
    yak2 = true;
    }
    else if(yak2 == true)
    {
    SendClientMessage(playerid, COLOR_RED, "Tor geschlossen!");
    MoveObject(yaktor2, -2655.51562500,-222.05761719,6.05807400, 4.0);
    yak2 = false;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Mitglied der Yakuza!");
    }
    return 1;
    }
    if(strcmp(cmd, "/yaktor3", true) == 0)
    {
    if(IsPlayerInFrac(playerid, 6))
    {
    if(yak3 == false)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet!");
    MoveObject(yaktor3, 1282.19995117,-616.09997559,105.09999847, 4.0),
    yak3 = true;
    }
    else if(yak3 == true)
    {
    SendClientMessage(playerid, COLOR_RED, "Tor geschlossen!");
    MoveObject(yaktor3, 1282.19995117,-616.09997559,105.09999847, 4.0);
    yak3 = false;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Mitglied der Yakuza!");
    }
    return 1;
    }


    Also das yakitor3 geht nicht also man sieht es nicht :/ befehl geht aber es ist nicht da.. :(

  • also ich sehe mittlerweile den gefühlten 6 beitrag von dir, wo es um tore geht. wenn du es immernochncith gelernt hast wie es geht, gebe ich dir nen tip. lass es sein!!! ;)


    Falsch. Warum erstellst du das Tor nicht auch mit dem Streamer-Plugin? Bietet doch die nötigen Funktionen. Vielleicht klappt's dann.

  • Ich habe die tor einfügung von mrmotantstutorials gemacht wieder nichts -.- und jetzt wie es im script mit den anderen toren sind auch und wieder nichts -.- kann sich bitte jemand melden der mir helfen kann statt antworten wie "lass es sein" kommen -.-