2 Warning's beim Compilen.

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
  • Heyho,
    wieder mal nen Problem :wacko:


    Also wenn ich mein Script Compilen will kommen die 2 Error's :
    C:\Dokumente und Einstellungen\Alban\Desktop\slf\gamemodes\slf.pwn(11707) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Alban\Desktop\slf\gamemodes\slf.pwn(11882) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Warnings.


    Zeile 217:
    forward LoadFraktionsKassen();
    forward SaveBoxer();

  • Jetzt ist hier warning :
    CreateStreamObject(971,963.474,-1460.908,16.070,0.0,0.0,-360.000,0);
    und hier -.-" :
    CreateObject(980,960.12707520,-1459.02075195,15.32026672,0.00000000,0.00000000,0.00000000); //object(airportgate) (1)



    Gruß

  • Einmal hier :
    ---------------------------------------------------------------------
    //------------------------------- OBJECTS -------------------------------------------
    //--------------------------- GESTREAMTE OBJECTS ------------------------------------
    //Alles mögliche
    CreateObject(980,960.12707520,-1459.02075195,15.32026672,0.00000000,0.00000000,0.00000000); //object(airportgate) (1)
    CreateObject(980,1038.70800781,-1459.51171875,15.38370132,0.00000000,0.00000000,90.00000000); //object(airportgate) (2)
    CreateObject(980,664.98291016,-1307.82861328,15.23432922,0.00000000,0.00000000,0.00000000); //object(airportgate) (3)
    CreateObject(980,659.72912598,-1227.21813965,17.77570915,0.00000000,0.00000000,60.00000000); //object(airportgate) (4)
    CreateObject(980,923.21972656,-1225.07324219,18.74995422,0.00000000,0.00000000,88.00000000); //object(airportgate) (5)
    CreateObject(1257,-1984.61914062,150.26133728,27.96669197,0.00000000,0.00000000,0.00000000); //object(bustopm) (1)
    CreateObject(1257,-1985.05566406,169.74220276,27.96669197,0.00000000,0.00000000,0.00000000); //object(bustopm) (2)
    CreateObject(1257,-1984.63549805,138.47637939,27.96669197,0.00000000,0.00000000,0.00000000); //object(bustopm) (3)
    CreateObject(1257,-1997.21569824,169.94863892,27.96669197,0.00000000,0.00000000,180.00000000); //object(bustopm) (4)
    CreateObject(1257,-1996.82434082,149.58691406,27.96669197,0.00000000,0.00000000,180.00000000); //object(bustopm) (5)
    CreateObject(1257,-1997.06872559,140.13912964,27.95905495,0.00000000,0.00000000,180.00000000); //object(bustopm) (6)
    CreateObject(1257,-1997.08459473,132.71444702,27.96669197,0.00000000,0.00000000,180.00000000); //object(bustopm) (7)


    und hier :


    CreateObject(8390,964.21667480469,-1994.4429931641,31.431785583496,0.00000000,0.00000000,83.999938964844);//Parkhaus
    CreateObject(980,1039.0534667969,-1460.3062744141,21.132495880127,79.999725341797,269.6884765625,180.26147460938);//Feuerwehr Brücke
    //Feuerwehr
    CreateStreamObject(971,963.474,-1460.908,16.070,0.0,0.0,-360.000,0);
    CreateStreamObject(971,954.677,-1460.904,16.066,0.0,0.0,-360.000,0);
    CreateStreamObject(16644,1041.535,-1455.106,16.834,-91.960,0.0,-90.000,0);
    CreateStreamObject(1215,1052.078,-1468.106,13.116,0.0,0.0,0.0,0);
    CreateStreamObject(1366,1016.830,-1463.601,12.903,0.0,0.0,-270.000,0);
    CreateStreamObject(1366,1009.196,-1463.635,12.893,0.0,0.0,-270.000,0);
    CreateStreamObject(1366,1002.010,-1463.724,12.912,0.0,0.0,-270.000,0);
    CreateStreamObject(1366,994.092,-1463.646,12.910,0.0,0.0,-270.000,0);
    CreateStreamObject(16601,969.716,-1435.076,26.078,0.0,0.0,0.0,0);
    CreateStreamObject(13025,959.181,-1455.921,15.423,0.0,0.0,-90.000,0);
    CreateStreamObject(3361,1029.640,-1431.546,20.078,0.0,0.0,-180.000,0);
    CreateStreamObject(3361,1023.557,-1431.530,16.021,0.0,0.0,-180.000,0);
    CreateStreamObject(3361,1017.538,-1431.529,11.996,0.0,0.0,-180.000,0);

  • Das erste CreatObjekt im ersten "Code Bereich" musst du eine Stelle zurück setzen mit umschalt+tab
    Die ersten zwei CearObjekt´s im zweiter "Code Bereich" musst du eine Stelle zurück setzen mit umschalt+tab


    MfG

  • The_Cop habe ich schon ....
    Ok jetzt gehts aber :

  • Wie bereits erwähnt ganz oben ins Script:
    #pragma tabsize 0


    Man dann könnte ich echt kotzen wenn ich sowas höre.. Gewöhnt euch das doch mal ab! Ihr ignoriert damit den Fehler einfach nur, anstatt sich mal damit auseinander zu setzen und Einrücken zu lernen. Besonders als Anfänger sollte man gleich den Richtigen weg gehen => Einrücken.


    ;)

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