17.09.2013, 13:56
(
Последний раз редактировалось Ahrim; 19.09.2013 в 15:50.
)
Here's the code, all it do is make the object invisible, and no text on it.
Is there anything that I need to know regarding this function?
Thanks.
P.S: Note that Im using SetDynamicMaterialText.
Is there anything that I need to know regarding this function?
pawn Код:
SetDynamicObjectMaterialText(DynamicObjectInfo[objectid][doObject], 0, DynamicObjectInfo[objectid][doText], DynamicObjectInfo[objectid][doMaterialSize], DynamicObjectInfo[objectid][doFontFace], DynamicObjectInfo[objectid][doFontSize], DynamicObjectInfo[objectid][doBold], DynamicObjectInfo[objectid][doFontColor], DynamicObjectInfo[objectid][doBackColor], DynamicObjectInfo[objectid][doAlign]);
pawn Код:
format(DynamicObjectInfo[objectid][doText], 128, "NEW OBJECT");
DynamicObjectInfo[objectid][doMaterialSize] = 140;
format(DynamicObjectInfo[objectid][doFontFace], 60, "Arial");
DynamicObjectInfo[objectid][doFontSize] = 8;
DynamicObjectInfo[objectid][doBold] = 0;
format(DynamicObjectInfo[objectid][doFontColor], 60, "0xFFFFFF00");
format(DynamicObjectInfo[objectid][doBackColor], 60, "0");
DynamicObjectInfo[objectid][doAlign]= 1;
Thanks.
P.S: Note that Im using SetDynamicMaterialText.