SA-MP Forums Archive
SetObjectTextMaterial Not appearing - 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: SetObjectTextMaterial Not appearing (/showthread.php?tid=557048)



SetObjectTextMaterial Not appearing - X|Dragon|X - 12.01.2015

Код:
new LSPD = CreateDynamicObject(19363, 1555.07825, -1675.59961, 23.08147,   0.00000, 0.00000, 358.79251);
SetObjectMaterialText(LSPD, "LSPD", 0, OBJECT_MATERIAL_SIZE_64x64, "Times New Roman", 31, 1, -8092540, 0, 1);
I added these lines on my script, but the text isn't appearing, the object is just the object like there is no text, i dont want no background color btw


Re: SetObjectTextMaterial Not appearing - X|Dragon|X - 12.01.2015

Help please


Re: SetObjectTextMaterial Not appearing - Divergent - 12.01.2015

You're using CreateDynamicObject then SetObjectMaterialText. Either use CreateObject and SetObjectMaterialText or CreateDynamicObject and SetDynamicObjectMaterialText


Re: SetObjectTextMaterial Not appearing - fonia5 - 12.01.2015

Код:
SetDynamicObjectMaterialText(LSPD, "LSPD", 0, OBJECT_MATERIAL_SIZE_64x64, "Times New Roman", 31, 1, -8092540, 0, 1);