SA-MP Forums Archive
SetDynamicObjectMaterial BUG - 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: SetDynamicObjectMaterial BUG (/showthread.php?tid=560074)



SetDynamicObjectMaterial BUG - Brandon001 - 26.01.2015

Hi!
I applied the function however the structure does not cover the full surface!

Picture:

http://kepfeltoltes.hu/view/150126/s...toltes.hu_.png

Code:

Код:
public OnPlayerConnect(playerid)
{
      new Obj = CreateDynamicObject(19005, 370.39343, 2512.93384, 15.56232,   0.00000, 0.00000, 0.00000);

      SetDynamicObjectMaterial(Obj, 0, 18956, "matclothes", "BandanaElec", 0);
}