Gemappte ins Script einbaun??

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
  • Die Objecte die du Gemappt hast kannst du in public OnGameModeInit()
    {
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    und die Removten in public OnPlayerConnect(playerid)
    {
    return 1;
    }


    du kannst aber auch mit Stocks arbeiten z.B. stock newmap()
    {
    //Deine Objecte
    }
    und in OnGameModeInit newmap(); das Gleiche geht auch mit den RemovePlayerBuildings nur das du es dann in OnPlayerConnect packen musst

  • DAnke


    andere fragen Wie kann ich gemappte Auto ins script einfügen einfach rein und wohin?? ( zb wenn man basen mapt oder muss man alle cars einzelnt saven aber wie ?? oder geht das das man alle einfügen kann ndie man zb bei MTA mappt??
    und habe gemappte Sachen eingebaut aber man sieht die nicht wenn ich mich dahin Porte warum??


    Hier die eingefügten Sachen :
    {
    CreateObject(4882, 1483, -1733.1999511719, 17.10000038147, 0, 0, 0);
    CreateObject(1649, 1471.9000244141, -1736.9000244141, 14, 0, 0, 180);
    CreateObject(1649, 1467.5, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1463.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1458.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1476.1999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1480.5999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1484.9000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1489.3000488281, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1493.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1498.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1502.4000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(970, 1506.5999755859, -1744.8000488281, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1504.5999755859, -1739.0999755859, 13.10000038147, 0, 0, 270);
    CreateObject(970, 1504.5999755859, -1742.8000488281, 13.10000038147, 0, 0, 269.99499511719);
    CreateObject(970, 1508.5999755859, -1746.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1508.5999755859, -1753.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1456.4000244141, -1738.9000244141, 13.10000038147, 0, 0, 90);
    CreateObject(970, 1456.4000244141, -1743, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1750.5999755859, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1754.6999511719, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(1215, 1456.4000244141, -1748.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1456.5, -1745.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1749, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1751.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1743.6999511719, 13.10000038147, 0, 0, 316);
    CreateObject(1215, 1453.1999511719, -1742, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1453.3000488281, -1745.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1747.1999511719, 13.10000038147, 0, 0, 315.99975585938);
    CreateObject(1649, 1502.8000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1498.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1494.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1489.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1485.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1481.0999755859, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1476.6999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1472.3000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.8994140625, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1649, 1463.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.19921875, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1231, 1456.3000488281, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1456.8000488281, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1504.6999511719, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1505.0999755859, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(3439, 1499.5, -1749.3000488281, 18.60000038147, 0, 0, 0);
    CreateObject(3439, 1462.4000244141, -1749.1999511719, 18.60000038147, 0, 0, 0);
    CreateObject(3934, 1427.8000488281, -1763.1999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1452.9000244141, -1769.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1505.4000244141, -1764.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1531.9000244141, -1764.6999511719, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.5, -1776.5999755859, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.4000244141, -1803.5, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1430.8000488281, -1819, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1448.9000244141, -1810.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1469, -1817.9000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1491.4000244141, -1817.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1511.0999755859, -1809.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1534.1999511719, -1819, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1803.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1776.9000244141, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1491.9000244141, -1755.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1472.4000244141, -1755.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1429.5, -1790, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1415.5999755859, -1790.3000488281, 32.900001525879, 0, 0, 0);
    CreateObject(14467, 1458.6999511719, -1751.6999511719, 35.200000762939, 0, 0, 268);
    CreateObject(14467, 1503.5999755859, -1751, 35.200000762939, 0, 0, 90);
    CreateObject(2745, 1495.1999511719, -1749.8000488281, 15.699999809265, 0, 0, 178);
    CreateObject(2745, 1489.5, -1750.4000244141, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1483.9000244141, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1478.5, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1472.8000488281, -1750.1999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1466.9000244141, -1749.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(17539, 1459.5999755859, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(17539, 1502.5, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(3749, 1537.3000488281, -1834.1999511719, 18.39999961853, 0, 0, 270);
    CreateObject(3749, 1419.5, -1834.3000488281, 18.200000762939, 0, 0, 270);
    CreateObject(12950, 1439.5999755859, -1829.5, 29.10000038147, 0, 0, 0);
    CreateObject(12950, 1439.4000244141, -1835.5999755859, 24.200000762939, 0, 0, 0);
    CreateObject(12950, 1439.3000488281, -1841.8000488281, 20, 0, 0, 0);
    CreateObject(12950, 1444.0999755859, -1843.5, 14.699999809265, 0, 0, 88);
    CreateObject(9833, 1439.9000244141, -1832.9000244141, 15, 0, 0, 356);
    CreateObject(9833, 1471.5999755859, -1832.6999511719, 15.699999809265, 0, 0, 177.99548339844);
    CreateObject(9833, 1488.6999511719, -1833.5, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(9833, 1520.1999511719, -1833.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    return 1;
    }


    beim Compilieren kommt nichts aber wenn ich auf mein Server joine seh ich das nicht

    MFG



    Xx5_GumxX

  • te es falsch gepostet habe es jetzt richtig aber beim Compilieren steht das


    C:\Users\Amilo\Desktop\Scripting\gamemodes\test.pwn(25) : error 055: start of function body without function header
    C:\Users\Amilo\Desktop\Scripting\gamemodes\test.pwn(112) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    Ka was das bedeutet


    Script:


    public OnGameModeInit()
    {
    SetGameModeText("Versuch ein RL zu machen");
    AddPlayerClass(28,1962.3123,-2189.8726,13.5469,26.2208,16,999,24,999,1,1);
    return 1;
    }
    {
    CreateObject(4882, 1483, -1733.1999511719, 17.10000038147, 0, 0, 0);
    CreateObject(1649, 1471.9000244141, -1736.9000244141, 14, 0, 0, 180);
    CreateObject(1649, 1467.5, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1463.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1458.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1476.1999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1480.5999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1484.9000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1489.3000488281, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1493.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1498.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1502.4000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(970, 1506.5999755859, -1744.8000488281, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1504.5999755859, -1739.0999755859, 13.10000038147, 0, 0, 270);
    CreateObject(970, 1504.5999755859, -1742.8000488281, 13.10000038147, 0, 0, 269.99499511719);
    CreateObject(970, 1508.5999755859, -1746.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1508.5999755859, -1753.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1456.4000244141, -1738.9000244141, 13.10000038147, 0, 0, 90);
    CreateObject(970, 1456.4000244141, -1743, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1750.5999755859, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1754.6999511719, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(1215, 1456.4000244141, -1748.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1456.5, -1745.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1749, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1751.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1743.6999511719, 13.10000038147, 0, 0, 316);
    CreateObject(1215, 1453.1999511719, -1742, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1453.3000488281, -1745.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1747.1999511719, 13.10000038147, 0, 0, 315.99975585938);
    CreateObject(1649, 1502.8000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1498.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1494.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1489.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1485.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1481.0999755859, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1476.6999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1472.3000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.8994140625, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1649, 1463.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.19921875, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1231, 1456.3000488281, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1456.8000488281, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1504.6999511719, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1505.0999755859, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(3439, 1499.5, -1749.3000488281, 18.60000038147, 0, 0, 0);
    CreateObject(3439, 1462.4000244141, -1749.1999511719, 18.60000038147, 0, 0, 0);
    CreateObject(3934, 1427.8000488281, -1763.1999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1452.9000244141, -1769.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1505.4000244141, -1764.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1531.9000244141, -1764.6999511719, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.5, -1776.5999755859, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.4000244141, -1803.5, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1430.8000488281, -1819, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1448.9000244141, -1810.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1469, -1817.9000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1491.4000244141, -1817.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1511.0999755859, -1809.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1534.1999511719, -1819, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1803.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1776.9000244141, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1491.9000244141, -1755.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1472.4000244141, -1755.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1429.5, -1790, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1415.5999755859, -1790.3000488281, 32.900001525879, 0, 0, 0);
    CreateObject(14467, 1458.6999511719, -1751.6999511719, 35.200000762939, 0, 0, 268);
    CreateObject(14467, 1503.5999755859, -1751, 35.200000762939, 0, 0, 90);
    CreateObject(2745, 1495.1999511719, -1749.8000488281, 15.699999809265, 0, 0, 178);
    CreateObject(2745, 1489.5, -1750.4000244141, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1483.9000244141, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1478.5, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1472.8000488281, -1750.1999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1466.9000244141, -1749.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(17539, 1459.5999755859, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(17539, 1502.5, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(3749, 1537.3000488281, -1834.1999511719, 18.39999961853, 0, 0, 270);
    CreateObject(3749, 1419.5, -1834.3000488281, 18.200000762939, 0, 0, 270);
    CreateObject(12950, 1439.5999755859, -1829.5, 29.10000038147, 0, 0, 0);
    CreateObject(12950, 1439.4000244141, -1835.5999755859, 24.200000762939, 0, 0, 0);
    CreateObject(12950, 1439.3000488281, -1841.8000488281, 20, 0, 0, 0);
    CreateObject(12950, 1444.0999755859, -1843.5, 14.699999809265, 0, 0, 88);
    CreateObject(9833, 1439.9000244141, -1832.9000244141, 15, 0, 0, 356);
    CreateObject(9833, 1471.5999755859, -1832.6999511719, 15.699999809265, 0, 0, 177.99548339844);
    CreateObject(9833, 1488.6999511719, -1833.5, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(9833, 1520.1999511719, -1833.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    return 1;
    }


    Was ist daran falch bitte um Hilfe
    komtmein return 0; ode rrein das ist alles was ich gepostet habe da nur drin

    MFG



    Xx5_GumxX

  • public OnGameModeInit()
    {
    SetGameModeText("Versuch ein RL zu machen");
    AddPlayerClass(28,1962.3123,-2189.8726,13.5469,26.2208,16,999,24,999,1,1);
    CreateObject(4882, 1483, -1733.1999511719, 17.10000038147, 0, 0, 0);
    CreateObject(1649, 1471.9000244141, -1736.9000244141, 14, 0, 0, 180);
    CreateObject(1649, 1467.5, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1463.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1458.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1476.1999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1480.5999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1484.9000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1489.3000488281, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1493.6999511719, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1498.0999755859, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(1649, 1502.4000244141, -1736.9000244141, 14, 0, 0, 179.99450683594);
    CreateObject(970, 1506.5999755859, -1744.8000488281, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1504.5999755859, -1739.0999755859, 13.10000038147, 0, 0, 270);
    CreateObject(970, 1504.5999755859, -1742.8000488281, 13.10000038147, 0, 0, 269.99499511719);
    CreateObject(970, 1508.5999755859, -1746.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1508.5999755859, -1753.8000488281, 13.10000038147, 0, 0, 269.99450683594);
    CreateObject(970, 1456.4000244141, -1738.9000244141, 13.10000038147, 0, 0, 90);
    CreateObject(970, 1456.4000244141, -1743, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1750.5999755859, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(970, 1456.4000244141, -1754.6999511719, 13.10000038147, 0, 0, 89.994506835938);
    CreateObject(1215, 1456.4000244141, -1748.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1456.5, -1745.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1749, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1508.5, -1751.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1743.6999511719, 13.10000038147, 0, 0, 316);
    CreateObject(1215, 1453.1999511719, -1742, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 1453.3000488281, -1745.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 1454.9000244141, -1747.1999511719, 13.10000038147, 0, 0, 315.99975585938);
    CreateObject(1649, 1502.8000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1498.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1494.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1489.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1485.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1481.0999755859, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1476.6999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1472.3000488281, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.9000244141, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1467.8994140625, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1649, 1463.5, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.1999511719, -1727.5999755859, 14, 0, 0, 0);
    CreateObject(1649, 1459.19921875, -1727.599609375, 14, 0, 0, 0);
    CreateObject(1231, 1456.3000488281, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1456.8000488281, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1504.6999511719, -1737, 15.10000038147, 0, 0, 0);
    CreateObject(1231, 1505.0999755859, -1727.5, 15.10000038147, 0, 0, 0);
    CreateObject(3439, 1499.5, -1749.3000488281, 18.60000038147, 0, 0, 0);
    CreateObject(3439, 1462.4000244141, -1749.1999511719, 18.60000038147, 0, 0, 0);
    CreateObject(3934, 1427.8000488281, -1763.1999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1452.9000244141, -1769.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1505.4000244141, -1764.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1531.9000244141, -1764.6999511719, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.5, -1776.5999755859, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1415.4000244141, -1803.5, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1430.8000488281, -1819, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1448.9000244141, -1810.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1469, -1817.9000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1491.4000244141, -1817.4000244141, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1511.0999755859, -1809.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1534.1999511719, -1819, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1803.6999511719, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1547.3000488281, -1776.9000244141, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1491.9000244141, -1755.5999755859, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1472.4000244141, -1755.8000488281, 32.700000762939, 0, 0, 0);
    CreateObject(3934, 1429.5, -1790, 32.900001525879, 0, 0, 0);
    CreateObject(3934, 1415.5999755859, -1790.3000488281, 32.900001525879, 0, 0, 0);
    CreateObject(14467, 1458.6999511719, -1751.6999511719, 35.200000762939, 0, 0, 268);
    CreateObject(14467, 1503.5999755859, -1751, 35.200000762939, 0, 0, 90);
    CreateObject(2745, 1495.1999511719, -1749.8000488281, 15.699999809265, 0, 0, 178);
    CreateObject(2745, 1489.5, -1750.4000244141, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1483.9000244141, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1478.5, -1750.3000488281, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1472.8000488281, -1750.1999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(2745, 1466.9000244141, -1749.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(17539, 1459.5999755859, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(17539, 1502.5, -1738.4000244141, 16.799999237061, 0, 0, 0);
    CreateObject(3749, 1537.3000488281, -1834.1999511719, 18.39999961853, 0, 0, 270);
    CreateObject(3749, 1419.5, -1834.3000488281, 18.200000762939, 0, 0, 270);
    CreateObject(12950, 1439.5999755859, -1829.5, 29.10000038147, 0, 0, 0);
    CreateObject(12950, 1439.4000244141, -1835.5999755859, 24.200000762939, 0, 0, 0);
    CreateObject(12950, 1439.3000488281, -1841.8000488281, 20, 0, 0, 0);
    CreateObject(12950, 1444.0999755859, -1843.5, 14.699999809265, 0, 0, 88);
    CreateObject(9833, 1439.9000244141, -1832.9000244141, 15, 0, 0, 356);
    CreateObject(9833, 1471.5999755859, -1832.6999511719, 15.699999809265, 0, 0, 177.99548339844);
    CreateObject(9833, 1488.6999511719, -1833.5, 15.699999809265, 0, 0, 177.99499511719);
    CreateObject(9833, 1520.1999511719, -1833.6999511719, 15.699999809265, 0, 0, 177.99499511719);
    return 1;
    }

  • Danke und wie mach ich das mit den cars was ich oben gepostet habe??



    und wen man Create und remove hat muss man das untereinnander also create und create untereinander und remove unter remove oder ist das egal ??


    Bitte schau dir
    Mrmonat Tuts an da lernst du die GRundlagen.


    http://www.youtube.com/watch?v=VIPvd6Y4d84

  • habe das mal eingefügt aber bekomme Errors wie kann ich es beheben


    Beim Compilieren kommt :
    C:\Users\Amilo\Desktop\Scripting\gamemodes\test.pwn(109) : error 017: undefined symbol "playerid"
    C:\Users\Amilo\Desktop\Scripting\gamemodes\test.pwn(110) : error 017: undefined symbol "playerid"
    C:\Users\Amilo\Desktop\Scripting\gamemodes\test.pwn(111) : error 017: undefined symbol "playerid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.




    Script :public OnGameModeInit()
    RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);

    MFG



    Xx5_GumxX

  • nur das unter onplayerconnect



    RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);

    MFG



    Xx5_GumxX

  • das muss unter onplayerconnect


    Wenn dann erkläre es bitte richtig.
    Die Remove Sachen, können überlall dort abgerufen werden, wo playerid definiert ist. Logischerweise ist es bei OnPlayerConnect empfehlenswert. Du hast aber auch die möglichkeit nen einen Public oder einen eigenen stock dafür zu erstellen. Wichtig hierbei ist nur, dass playerid definiert ist.

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