02.07.2013, 14:03
Okay i am trying to change the object texture
But it doesnt work and it just shows the normal texture
pawn Код:
new o1;
o1 = CreateObject(8064,2769.5000000,2679.3999000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (1)
o1 = CreateObject(8064,2808.8999000,2679.3999000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (2)
o1 = CreateObject(8064,2848.3999000,2679.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (3)
o1 = CreateObject(8064,2769.3999000,2711.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (4)
o1 = CreateObject(8064,2808.5000000,2711.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (5)
o1 = CreateObject(8064,2848.3999000,2711.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (6)
o1 = CreateObject(8064,2769.5000000,2743.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (7)
o1 = CreateObject(8064,2808.6999500,2743.8000500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (8)
o1 = CreateObject(8064,2848.3999000,2743.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (9)
o1 = CreateObject(8064,2848.3999000,2775.1001000,6.6000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (10)
o1 = CreateObject(8064,2808.6999500,2775.1001000,6.6000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (11)
o1 = CreateObject(8064,2769.3000500,2775.1999500,6.7000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (12)
SetObjectMaterial(o1, 7, 18765, "concretebits", "stonewalltile1-3", 0);