SetObjectMaterial Problem
#1

I'm mapping a area in East Los Santos (@Car Wash). I attempted texturing objects for a better look in the area, so objects blend in with the surroundings and it was working perfect until I replaced the object(s) with another object. I followed this guide: https://www.youtube.com/watch?v=I1pMGkgj8bA

As you can see in the "New Object" the walls haven't changed texture but am pretty sure my coding with SetObjectMaterial is correct and I'm assuming there is a bug here or what?

Old Object:
> http://files.sa-mp.im/file/45ca052d/58ac061c.jpg (was changed as I disliked that wall)

New Object:
> http://files.sa-mp.im/file/3b8604c1/4ea405ae.jpg (Red Dots: issue with not texturing)
Material: 0 split: 0 Tex: stormdrain3_nt
Material: 0 split: 0 Alp: stormdrain3_nt

Textures: eastls4_lae2
> http://files.sa-mp.im/file/3b8604c1/5c080682.jpg (Back wall)
Material: 9 split: 9 Tex: conc_wall_128H
Material: 9 split: 9 Alp: conc_wall_128H

Код:
 	new objectess = CreateObject(19463, 2540.69824, -1472.08813, 24.76780,   0.00000, 0.00000, 0.00000);
        SetObjectMaterial(objectess, 0, 17689, "eastls4_lae2", "conc_wall_128H", 0);
        objectess = CreateObject(19463, 2540.69824, -1453.60852, 24.76780,   0.00000, 0.00000, 0.00000);
        SetObjectMaterial(objectess, 0, 17689, "eastls4_lae2", "conc_wall_128H", 0);
        objectess = CreateObject(19463, 2540.51831, -1453.60852, 24.76780,   0.00000, 0.00000, 0.00000);
        SetObjectMaterial(objectess, 0, 17689, "eastls4_lae2", "conc_wall_128H", 0);
        objectess = CreateObject(19463, 2540.51831, -1472.08813, 24.76780,   0.00000, 0.00000, 0.00000);
Reply
#2

Fixed Arched Alley Issue

Removed from OP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)