MaterialObjects Fehler

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
  • Guten Abend Com,


    Ich wollte die MaterialObjects einfügen aber leider ging dies nicht so wie ich mochte,


    Der Text
    MaterialObjects[57] = CreateObject(19340,1150.91,-1334.54,8.56, 0.00,0.08,-90.00);
    SetObjectMaterial(MaterialObjects[57],0,3989,"lanriver","sl_flagstone1",0);
    MaterialObjects[58] = CreateObject(19340,1101.35,-1343.93,8.58, 0.00,0.00,-90.00);
    SetObjectMaterial(MaterialObjects[58],0,3989,"lanriver","sl_flagstone1",0);
    MaterialObjects[59] = CreateDynamicObject(19454,564.68,-1294.35,20.99, 90.00,90.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[59],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[60] = CreateDynamicObject(19454,566.35,-1296.05,20.99, 90.00,90.00,90.00);
    SetDynamicObjectMaterial(MaterialObjects[60],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[61] = CreateDynamicObject(19454,519.86,-1294.39,20.99, 90.00,90.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[61],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[62] = CreateDynamicObject(19454,518.18,-1296.06,20.99, 90.00,90.00,90.00);
    SetDynamicObjectMaterial(MaterialObjects[62],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[63] = CreateDynamicObject(19454,536.21,-1294.39,20.99, 90.00,90.00,0.00);


    SetDynamicObjectMaterial(MaterialObjects[63],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[64] = CreateDynamicObject(19454,548.38,-1294.39,20.99, 90.00,90.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[64],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[65] = CreateDynamicObject(19454,542.59,-1294.35,24.47, 0.00,0.00,90.00);
    SetDynamicObjectMaterial(MaterialObjects[65],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[66] = CreateDynamicObject(19454,536.36,-1296.08,26.68, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[66],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[67] = CreateDynamicObject(19454,536.36,-1299.58,26.68, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[67],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[68] = CreateDynamicObject(19454,536.38,-1300.06,26.68, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[68],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[69] = CreateDynamicObject(19454,548.06,-1296.08,26.68, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[69],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[70] = CreateDynamicObject(19454,548.06,-1299.58,26.68, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[70],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[71] = CreateDynamicObject(19454,548.06,-1300.07,26.70, 90.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[71],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[72] = CreateDynamicObject(19454,548.06,-1306.60,23.63, 0.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[72],1,6337,"sunset01_law2","concpanel_la",0);
    MaterialObjects[73] = CreateDynamicObject(19454,536.36,-1306.60,23.63, 0.00,0.00,0.00);
    SetDynamicObjectMaterial(MaterialObjects[73],1,6337,"sunset01_law2","concpanel_la",0);

    Fehler meldung -.-


    D:--\gamemodes\--.pwn(7464) : error 017: undefined symbol "MaterialObjects"
    D:\--\gamemodes\--.pwn(7464) : warning 215: expression has no effect
    D:\--\gamemodes\--.pwn(7464) : error 001: expected token: ";", but found "]"
    D:\--\gamemodes\--.pwn(7464) : error 029: invalid expression, assumed zero
    D:\--\gamemodes\--.pwn(7464) : fatal error 107: too many error messages on one line


    MFG