SA-MP Forums Archive
Object material text. - 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: Object material text. (/showthread.php?tid=609665)



Object material text. - Tuntun - 15.06.2016

Code:
	new TEXT = CreateObject(19172, -1593.32239, -218.70470, 672.77631,   0.00000, 0.00000, 314.19827);
	SetObjectMaterialText(TEXT, "Office", 0, OBJECT_MATERIAL_SIZE_256x128,
    "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
In game why I can't see the text? I just see the object..


Re: Object material text. - Ult1mate - 15.06.2016

Code:
new TEXT = CreateObject(19172, -1593.32239, -218.70470, 672.77631,   0.00000, 0.00000, 314.19827, 300.0);     
/*          Suggestion: Draw distance 300.0          */
SetObjectMaterialText(TEXT, "Office", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
I tested it working.


Re: Object material text. - Tuntun - 15.06.2016

Dude. I can't see the text in game.


Re: Object material text. - Ult1mate - 15.06.2016

Quote:
Originally Posted by Tuntun
View Post
Dude. I can't see the text in game.
yes i know, try this. (\) defective. Up, red slash.


Re: Object material text. - Tuntun - 16.06.2016

not working.. wtf!