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