30.10.2013, 14:53
Use This:
Fun With SetObjectMaterialText
Pastebin for Fun With SetObjectMaterialText
Commands:
Fun With SetObjectMaterialText
Pastebin for Fun With SetObjectMaterialText
Commands:
- dcmd_createtext (/createtext)
- dcmd_editobj (/editobj)
- dcmd_deleteobject (/deleteobject)
Код:
SetObjectMaterialText(objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128, fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0)
Код:
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. textalignment = The alignment of the text (default: left).