01.07.2013, 10:45
do this
change backcolour to "0" to disable it
pawn Код:
SetObjectMaterialText(yourobject, "Your Text", 0, OBJECT_MATERIAL_SIZE_256x128,\"Arial", 28, 0, 0xFFFF8200, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
Код:
objectid The ID of the object to replace the texture of with text. text The text to show on the object. materialindex The object's material index to replace with text. materialsize The size of the material. fontface The font to use. fontsize The size of the text (MAX 255). bold Bold text. Set to 1 for bold, 0 for not. fontcolor The color of the text, in ARGB format. backcolor The background color, in ARGB format.//change back colour to "0" to disable the background colour textalignment The alignment of the text (default: left).

