cj skin und kein befehl nutzbar ?

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
  • hey leute aslo cih wollte mal wissen wiso ich in meinem GM kein befehl und nur den cj skin benutzen kann hier mal on GameModInit


    public OnGameModeInit()
    {
    UsePlayerPedAnims();
    // Don't use these lines if it's a filterscript
    SetGameModeText("German DM SERVER");
    {

    return 1;
    }



    AddPlayerClass(124, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(114, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(116, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(285, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(286, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(287, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(288, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(124, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(131, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(189, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(193, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(223, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(189, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(193, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(249, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(122, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(123, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(186, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(187, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(203, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(204, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(228, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(111, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(112, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(113, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(125, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(126, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(120, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(169, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(171, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

    //dm 1 Selber ^^ map "himmel "
    CreateObject(10023, -2041.9305419922, 1836.8073730469, 261.54904174805, 0, 0, 0);
    CreateObject(10378, -2044.7738037109, 1738.6420898438, 253.36276245117, 0, 0, 0);
    CreateObject(10368, -2103.7529296875, 1772.8992919922, 273.81478881836, 0, 0, 0);
    CreateObject(5426, -1969.5799560547, 1790.9993896484, 255.77868652344, 0, 0, 0);
    CreateObject(5408, -2201.8757324219, 1764.9451904297, 274.56652832031, 0, 0, 0);
    CreateObject(4825, -1974.7016601563, 1724.6022949219, 249.85043334961, 0, 0, 180);
    CreateObject(9241, -1918.1904296875, 1695.9609375, 252.96301269531, 0, 0, 0);
    CreateObject(3666, -2158.3708496094, 1710.7869873047, 252.7820892334, 0, 0, 0);
    CreateObject(980, -2165.7924804688, 1705.4674072266, 255.07579040527, 0, 0, 0);
    CreateObject(980, -2176.35546875, 1705.3288574219, 255.08155822754, 0, 0, 0);
    CreateObject(980, -2187.6071777344, 1705.2943115234, 255.08299255371, 0, 0, 0);
    CreateObject(980, -2198.3408203125, 1705.3051757813, 255.08253479004, 0, 0, 0);
    CreateObject(980, -2209.669921875, 1705.2297363281, 255.08567810059, 0, 0, 0);
    CreateObject(980, -2221.3063964844, 1705.2067871094, 255.08662414551, 0, 0, 0);
    CreateObject(980, -2222.1799316406, 1824.8676757813, 255.08760070801, 0, 0, 0);
    CreateObject(980, -2210.6469726563, 1824.8486328125, 255.08685302734, 0, 0, 0);




    //--------------------------------------------------------------------------------------------------run 1
    return 1;
    }

  • SetGameModeText("German DM SERVER");
    {

    return 1;
    }


    • Keine Anweisung
    • Return gibt einen bestimmten Wert zurück & unterbricht die Funktion sprich der Code wird nicht mehr ausgeführt
    • Eine Kommando Reihenfolge wird nur bei einem Statement gebraucht bzw. bei einer gewissen Entscheidung vom Code , Anweisungen wie ( while, if ,for, do ) verwenden { } Blöcke auch Array Zuweisungen new array[] = {1,2,3} , das gibt dem Code zu verstehen welcher Wert Bereich hier gültig ist , tut es im anderen Teil jedoch wird dort gekennzeichnet was bei einem Falschen oder wahren Statement jeweils ausgeführt & nicht ausgeführt wird & was dabei einbezogen werden soll

    Mfg. BlackFoX_UD_ alias [BFX]Explosion


  • So:


    public OnGameModeInit()
    {
    UsePlayerPedAnims();


    SetGameModeText("German DM SERVER");


    AddPlayerClass(124, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(114, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(116, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(285, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(286, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(287, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(288, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(124, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(131, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(189, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(193, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(223, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(189, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(193, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(249, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(122, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(123, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(186, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(187, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(203, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(204, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(228, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(111, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(112, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(113, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(125, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(126, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(120, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(169, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(171, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

    //dm 1 Selber ^^ map "himmel "
    CreateObject(10023, -2041.9305419922, 1836.8073730469, 261.54904174805, 0, 0, 0);
    CreateObject(10378, -2044.7738037109, 1738.6420898438, 253.36276245117, 0, 0, 0);
    CreateObject(10368, -2103.7529296875, 1772.8992919922, 273.81478881836, 0, 0, 0);
    CreateObject(5426, -1969.5799560547, 1790.9993896484, 255.77868652344, 0, 0, 0);
    CreateObject(5408, -2201.8757324219, 1764.9451904297, 274.56652832031, 0, 0, 0);
    CreateObject(4825, -1974.7016601563, 1724.6022949219, 249.85043334961, 0, 0, 180);
    CreateObject(9241, -1918.1904296875, 1695.9609375, 252.96301269531, 0, 0, 0);
    CreateObject(3666, -2158.3708496094, 1710.7869873047, 252.7820892334, 0, 0, 0);
    CreateObject(980, -2165.7924804688, 1705.4674072266, 255.07579040527, 0, 0, 0);
    CreateObject(980, -2176.35546875, 1705.3288574219, 255.08155822754, 0, 0, 0);
    CreateObject(980, -2187.6071777344, 1705.2943115234, 255.08299255371, 0, 0, 0);
    CreateObject(980, -2198.3408203125, 1705.3051757813, 255.08253479004, 0, 0, 0);
    CreateObject(980, -2209.669921875, 1705.2297363281, 255.08567810059, 0, 0, 0);
    CreateObject(980, -2221.3063964844, 1705.2067871094, 255.08662414551, 0, 0, 0);
    CreateObject(980, -2222.1799316406, 1824.8676757813, 255.08760070801, 0, 0, 0);
    CreateObject(980, -2210.6469726563, 1824.8486328125, 255.08685302734, 0, 0, 0);




    //--------------------------------------------------------------------------------------------------run 1
    return 1;
    }