DrawDistance object id 19426
#1

Heloo, i have a problem with Object id 19426 -> , when i use CreateDyanmicObject and SetDynamicObjectMaterial with id 18762 and 19246 Image -> objects are renders, when im walk back disappears id 19426,and id 18762 no disappears. Why?
Код:
new barx = CreateDynamicObject(19426, 2150.65942, 963.36548, 11.6902,   90.00000, 0.00000, 90.00000, -1, -1, -1, 500);
SetDynamicObjectMaterial(barx, 0, 18769, "skydiveplatforms", "HazardTile19-2");
new barxx = CreateDynamicObject(19426, 2147.15894, 963.36432, 11.6902,   90.00000, 0.00000, 90.00000, -1, -1, -1, 500);
SetDynamicObjectMaterial(barxx, 0, 18769, "skydiveplatforms", "HazardTile19-2");
new barxxx = CreateDynamicObject(19426, 2143.65991, 963.36499, 11.6902,   90.00000, 0.00000, 90.00000, -1, -1, -1, 500);
SetDynamicObjectMaterial(barxxx, 0, 18769, "skydiveplatforms", "HazardTile19-2");

new test1 = CreateDynamicObject(18762, 2154.64331, 962.29297, 9.66504,   0.00000, 0.00000, 0.00000, -1, -1, -1, 500);
SetDynamicObjectMaterial(test1, 0, 18769, "skydiveplatforms", "HazardTile19-2");
new test2 = CreateDynamicObject(18762, 2140.98218, 962.68195, 9.66504,   0.00000, 0.00000, 0.00000, 500);
SetDynamicObjectMaterial(test2, 0, 18769, "skydiveplatforms", "HazardTile19-2");
Reply
#2

Change the drawdistance to something higher.

https://sampwiki.blast.hk/wiki/CreateObject

Edit: I think the new material disappears faster, I don't know why though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)