Sziasztok. Az lenne a gondom ,hogy egy ugratóra új textúrát raktam azonban a textúra csak az objekt egyik oldalán látszik.
new Obj = CreateDynamicObject(19005, 370.39343, 2512.93384, 15.56232, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(Obj, 0, 18956, \"matclothes\", \"BandanaElec\", 0);
Kép:
http://kepfeltoltes.hu/view/150126/126590511sa-mp-009_www.kepfeltoltes.hu_.png
Ezzel kell szarakodni.
materialindex The material index on the object to change
0-10ig végignéztem és egyik sem volt jó.
Csak így tudtam megoldani:
//teszt
new teszt = CreateDynamicObject(1632, 389.62848, 2494.92749, 16.97480, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(teszt, 0, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 2, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 3, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 4, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 5, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 6, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 7, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 8, 18827, \"mattextures\", \"multi086\", 0);
SetDynamicObjectMaterial(teszt, 9, 18827, \"mattextures\", \"multi086\", 0);