little help with SetDynamicObjectMaterialText - 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: little help with SetDynamicObjectMaterialText (
/showthread.php?tid=515853)
little help with SetDynamicObjectMaterialText -
moof2010 - 28.05.2014
Hi all i have these lines
Код:
panou_intrare = CreateDynamicObject(3715, 951.86047, -1103.10583, 32.05970, 0.00000, 0.00000, 90.00000);
SetDynamicObjectMaterial(panou_intrare, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterialText(panou_intrare, 2, "School Instructors" , 50, "Arial", 24, 1, 0xFFA500FF, 0x000000FF, 1);
I want to do
http://i.imgur.com/cCqPoRf.jpg
but i realise this
http://imgur.com/cCqPoRf,O9vANN4#1
Can someone help me? to do
http://i.imgur.com/cCqPoRf.jpg
Re: little help with SetDynamicObjectMaterialText -
moof2010 - 29.05.2014
please someone can help me?
Re: little help with SetDynamicObjectMaterialText -
Matess - 29.05.2014
Try to change:
Код:
(objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128,
Re: little help with SetDynamicObjectMaterialText -
Ciandlah - 29.05.2014
Okay first off, There is no such function as SetDynamicObjectMaterialText
You can create an Object like this. CreateObject()etc
However the function you are looking for is SetObjectMaterialText