Guten Tag liebe Community,
ich wollte gerade SetObjectMaterial anwenden aber ich schaff es garnicht.
Ich hoffe ihr könnt mir helfen.
Fehler
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\pawno\include\core.inc(12) : error 001: expected token: ";", but found "native"
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(16) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(17) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(18 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(19) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(20) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(21) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(22) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(23) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(24) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(25) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(26) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(27) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(28 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(29) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(30) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(31) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(32) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(33) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(34) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(35) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(36) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(37) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(38 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(39) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(40) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(16) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(17) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(18 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(19) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(20) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(21) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(22) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(23) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(24) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(25) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(26) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(27) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(28 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(29) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(30) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(31) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(32) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(33) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(34) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(35) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(36) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(37) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(38 ) : error 033: array must be indexed (variable "Objekt1")
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(39) : error 035: argument type mismatch (argument 1)
C:\Users\Toshiba\Desktop\Neuer Ordner (2)\map\ServerTest\gamemodes\Untitled.pwn(40) : error 033: array must be indexed (variable "Objekt1")
Code
Objekt1 = CreateObject(19381, 2167.71851, 2075.54419, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.17212, 2075.53271, 9.73840, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25952, 2075.52515, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2085.17334, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2094.80444, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.72070, 2104.41699, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2114.01636, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2118.29272, 9.74040, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.19287, 2118.29272, 9.73840, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2118.29272, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.19287, 2114.01636, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.21191, 2104.41650, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.21289, 2094.78687, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.17285, 2085.15869, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2085.15332, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2094.78833, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2104.39014, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.17212, 2075.53271, 9.73840, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25952, 2075.52515, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2085.17334, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2094.80444, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.72070, 2104.41699, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2114.01636, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2167.71851, 2118.29272, 9.74040, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.19287, 2118.29272, 9.73840, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2118.29272, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.19287, 2114.01636, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.21191, 2104.41650, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.21289, 2094.78687, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2178.17285, 2085.15869, 9.73640, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2085.15332, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2094.78833, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Objekt1 = CreateObject(19381, 2182.25391, 2104.39014, 9.73440, 0.00000, 90.00000, 0.00000);
SetObjectMaterial (Objekt1, 0, 3967, "cj_airprt", "ws_stationfloor", 0xFFFFFFFF);
Ich hoffe ihr hilft mir schnell.
Mfg. Josh_