Help with setting textures on objects [SetMaterialObject] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with setting textures on objects [SetMaterialObject] (
/showthread.php?tid=525716)
Help with setting textures on objects [SetMaterialObject] +REP -
Amit1998 - 13.07.2014
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(19378, 2194.98901, 2192.89893, 102.81900, 0.00000, 90.00000, 0.00000);
floor = CreateDynamicObject(19378, 2194.98901, 2183.28003, 102.81900, 0.00000, 90.00000, 0.00000);
floor = CreateDynamicObject(19378, 2205.47900, 2192.89893, 102.81900, 0.00000, 90.00000, 0.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!
Re: Help with setting textures on objects [SetMaterialObject] -
greentarch - 13.07.2014
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);
}
Re: Help with setting textures on objects [SetMaterialObject] -
Amit1998 - 13.07.2014
It's not working
Re: Help with setting textures on objects [SetMaterialObject] -
Amit1998 - 13.07.2014
I didnt know it's so complicated to set an object texture...
will +REP for the helper.