Why does it not change the texture?
#1

Okay i am trying to change the object 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);
But it doesnt work and it just shows the normal texture
Reply
#2

pawn Код:
new o1[12];
    o1[0] = CreateObject(8064,2769.5000000,2679.3999000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (1)
    o1[1] = CreateObject(8064,2808.8999000,2679.3999000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (2)
    o1[2] = CreateObject(8064,2848.3999000,2679.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (3)
    o1[3] = CreateObject(8064,2769.3999000,2711.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (4)
    o1[4] = CreateObject(8064,2808.5000000,2711.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (5)
    o1[5] = CreateObject(8064,2848.3999000,2711.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (6)
    o1[6] = CreateObject(8064,2769.5000000,2743.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (7)
    o1[7] = CreateObject(8064,2808.6999500,2743.8000500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (8)
    o1[8] = CreateObject(8064,2848.3999000,2743.6999500,6.5000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (9)
    o1[9] = CreateObject(8064,2848.3999000,2775.1001000,6.6000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (10)
    o1[10] = CreateObject(8064,2808.6999500,2775.1001000,6.6000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (11)
    o1[11] = CreateObject(8064,2769.3000500,2775.1999500,6.7000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse05) (12)
for(new i=0;i<12;i++) SetObjectMaterial(o1[i], 7, 18765, "concretebits", "stonewalltile1-3", 0);
Reply
#3

Yes but that does not match the 10x10x5m concrete's block texture. Why not?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)