Help with setting textures on objects [SetMaterialObject]
#1

Hi! I'm having troubles with the textures system..
Could someone tell me my mistake?
Objectid: 19378

SS:


Texture:
SS:


Both:
SS:


Texture details:
SS:



Code:

PHP код:

new floor;
floor CreateDynamicObject(193782194.989012192.89893102.81900,   0.0000090.000000.00000);
floor CreateDynamicObject(193782194.989012183.28003102.81900,   0.0000090.000000.00000);
floor CreateDynamicObject(193782205.479002192.89893102.81900,   0.0000090.000000.00000);
SetObjectMaterial(floor,2083,19378,"civico1_lan"," sl_concretewall1"0); 
I tried almost every single combination and nothing worked, thanks in advanced for the helpers!
Reply
#2

pawn Код:
new
    floor[3];
floor[0] = CreateDynamicObject(19378, 2194.98901, 2192.89893, 102.81900,   0.00000, 90.00000, 0.00000);
floor[1] = CreateDynamicObject(19378, 2194.98901, 2183.28003, 102.81900,   0.00000, 90.00000, 0.00000);
floor[2] = CreateDynamicObject(19378, 2205.47900, 2192.89893, 102.81900,   0.00000, 90.00000, 0.00000);
for (new i, j = sizeof(floor); i < j; ++i)
{
    SetObjectMaterial(floor[i],2083,19378,"civico1_lan"," sl_concretewall1", 0);
}
Reply
#3

It's not working
Reply
#4

I didnt know it's so complicated to set an object texture...
will +REP for the helper.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)