map error

Započeo Bandit234, Januar 15, 2022, 15:14:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): error 035: argument type mismatch (argument 2)
Deo skripte: [pawn]autoskola[0] = CreateDynamicObject(18980, 2049.6582, -1922.2099, 3.2300, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx25m
   SetDynamicObjectMaterial(autoskola[0], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[1] = CreateDynamicObject(19447, 2049.6567, -1916.8579, 13.9377, 0.0000, 0.0000, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[1], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[2] = CreateDynamicObject(18980, 2071.4479, -1922.2099, 3.2300, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx25m
   SetDynamicObjectMaterial(autoskola[2], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[3] = CreateDynamicObject(18980, 2071.4479, -1922.2099, 3.2300, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx25m
   autoskola[4] = CreateDynamicObject(18980, 2071.4479, -1900.9992, 3.2300, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx25m
   SetDynamicObjectMaterial(autoskola[4], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[5] = CreateDynamicObject(970, 2052.2504, -1922.3526, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[5], 0, -1, "none", "none", 0xFF000000);
   autoskola[6] = CreateDynamicObject(970, 2060.6604, -1922.3526, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[6], 0, -1, "none", "none", 0xFF000000);
   autoskola[7] = CreateDynamicObject(970, 2064.8723, -1922.3526, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[7], 0, -1, "none", "none", 0xFF000000);
   autoskola[8] = CreateDynamicObject(970, 2056.4584, -1922.3526, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[8], 0, -1, "none", "none", 0xFF000000);
   autoskola[9] = CreateDynamicObject(970, 2069.0417, -1922.3526, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[9], 0, -1, "none", "none", 0xFF000000);
   autoskola[10] = CreateDynamicObject(970, 2068.9016, -1900.9222, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[10], 0, -1, "none", "none", 0xFF000000);
   autoskola[11] = CreateDynamicObject(970, 2064.7402, -1900.9222, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[11], 0, -1, "none", "none", 0xFF000000);
   autoskola[12] = CreateDynamicObject(970, 2060.5781, -1900.9222, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[12], 0, -1, "none", "none", 0xFF000000);
   autoskola[13] = CreateDynamicObject(970, 2056.4160, -1900.9222, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[13], 0, -1, "none", "none", 0xFF000000);
   autoskola[14] = CreateDynamicObject(970, 2052.2326, -1900.9222, 13.1106, 0.0000, 0.0000, 0.0000); //fencesmallb
   SetDynamicObjectMaterial(autoskola[14], 0, -1, "none", "none", 0xFF000000);
   autoskola[15] = CreateDynamicObject(18980, 2049.6582, -1900.9997, 3.2300, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx25m
   SetDynamicObjectMaterial(autoskola[15], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[16] = CreateDynamicObject(1569, 2049.7978, -1912.4758, 12.5148, 0.6999, 0.0000, 90.3999); //ADAM_V_DOOR
   autoskola[17] = CreateDynamicObject(19447, 2049.6567, -1907.3183, 13.9377, 0.0000, 0.0000, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[17], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[18] = CreateDynamicObject(19447, 2049.6567, -1906.1074, 13.9377, 0.0000, 0.0000, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[18], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[19] = CreateDynamicObject(19447, 2044.5308, -1922.1448, 13.5902, 0.0000, 0.0000, -90.2000); //wall087
   SetDynamicObjectMaterial(autoskola[19], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[20] = CreateDynamicObject(19447, 2044.6035, -1901.0550, 13.5902, 0.0000, 0.0000, -90.2000); //wall087
   SetDynamicObjectMaterial(autoskola[20], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[21] = CreateDynamicObject(19447, 2047.9318, -1917.2302, 15.6129, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[21], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[22] = CreateDynamicObject(19447, 2045.7421, -1917.2302, 15.5594, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[22], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[23] = CreateDynamicObject(19447, 2045.7421, -1907.9500, 15.5594, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[23], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[24] = CreateDynamicObject(19447, 2047.9514, -1907.9500, 15.6134, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[24], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[25] = CreateDynamicObject(19447, 2047.9514, -1905.8183, 15.6134, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[25], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[26] = CreateDynamicObject(19447, 2045.6422, -1905.8183, 15.5570, 0.0000, -91.3999, 0.0000); //wall087
   SetDynamicObjectMaterial(autoskola[26], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[27] = CreateDynamicObject(19447, 2045.0579, -1922.0733, 13.7830, 0.0000, 0.0000, -89.5000); //wall087
   SetDynamicObjectMaterial(autoskola[27], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[28] = CreateDynamicObject(19447, 2044.8746, -1901.0550, 13.7830, 0.0000, 0.0000, -89.5000); //wall087
   SetDynamicObjectMaterial(autoskola[28], 0, -1, "none", "none", 0xFF00BFFF);
   autoskola[29] = CreateDynamicObject(8332, 2048.3459, -1911.3591, 10.9846, 1.0000, 0.0000, 89.0999); //vgsbboardsigns19
   SetDynamicObjectMaterialText(autoskola[29], "Auto skola", 0, OBJECT_MATERIAL_SIZE_256x128, "Constantia", 16, 1, 0xFFFFFFFF, 0x00000000, 0);[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]//[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): //
Poslednja Izmena: Januar 18, 2022, 20:49:16 POSLE PODNE od 'xza

Koja linija tacno baci? Mozda je pogresna verzija streamer-a? Mislim, mapa je radjena za stariju verziju? Probaj CreateDynamicObjectEx

RADOVI


[GM]Valhalla OGC -> KLIKNI ME NEZNO
Y_TIMERS TUT -> KLIKNI ME NEZNO
Duel System FS -> KLIKNI ME NEZNO
[GM]Noise RolePlay -> KLIKNI ME NEZNO
C# Custom SAMP Launcher -> KLIKNI ME NEZNO
FySnow Map -> KLIKNI ME NEZNO
Hunger Games FS -> KLIKNI ME NEZNO
FunRace LiveEvent FS -> KLIKNI ME NEZNO
Registracija Sistem(VIDEO) -> KLIKNI ME NEZNO
Y_ITERATE TUT -> KLIKNI ME NEZNO
[INC]Dynamic Rent Locations -> KLIKNI ME NEZNO
[GM]Balkan Evolution -> KLIKNI ME NEZNO
[TUT]SAMP VOICE ( SLOZENIJE ) -> KLIKNI ME NEZNO

SetDynamicObjectMaterialText(autoskola[29], "Auto skola", 0, OBJECT_MATERIAL_SIZE_256x128, "Constantia", 16, 1, 0xFFFFFFFF, 0x00000000, 0);

[pawn]SetDynamicObjectMaterialText(autoskola[29], 0, "Auto skola", OBJECT_MATERIAL_SIZE_256x128, "Constantia", 16, 1, 0xFFFFFFFF, 0x00000000, 0);[/pawn]

Argumenti :

[pawn]SetDynamicObjectMaterialText(STREAMER_TAG_OBJECT objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0)[/pawn]

Omasio si mesta index-a i text-a

RADOVI


[GM]Valhalla OGC -> KLIKNI ME NEZNO
Y_TIMERS TUT -> KLIKNI ME NEZNO
Duel System FS -> KLIKNI ME NEZNO
[GM]Noise RolePlay -> KLIKNI ME NEZNO
C# Custom SAMP Launcher -> KLIKNI ME NEZNO
FySnow Map -> KLIKNI ME NEZNO
Hunger Games FS -> KLIKNI ME NEZNO
FunRace LiveEvent FS -> KLIKNI ME NEZNO
Registracija Sistem(VIDEO) -> KLIKNI ME NEZNO
Y_ITERATE TUT -> KLIKNI ME NEZNO
[INC]Dynamic Rent Locations -> KLIKNI ME NEZNO
[GM]Balkan Evolution -> KLIKNI ME NEZNO
[TUT]SAMP VOICE ( SLOZENIJE ) -> KLIKNI ME NEZNO