09.06.2017, 06:10
Are you sure that you want to use SetDynamicObjectMaterialText instead of SetDynamicObjectMaterial?
Edit:I'm so late,on my phone right now,sorry.
PHP код:
SetDynamicObjectMaterial(objectid, materialindex, modelid, const txdname[], const texturename[], materialcolor = 0)
PHP код:
SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0)