25.01.2013, 16:40
Hi all, I have 152 objects, i want to change material text. Do I have create 152 lines with SetObjectMaterialtText fucntion?
for(new i = 152; i < ANIM_LIMIT; i++)
{ SetObjectMaterialText(myobject[i], "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); } |
for(new i = 0; i < sizeof(myobject); i++)
{
SetObjectMaterialText(myobject[i], "Your text here...", 0, OBJECT_MATERIAL_SIZE_HERE, "fonthere", 28, 0, 0xFFFFFFFF, 0xFFFFFFFF, OBJECT_MATERIAL_TEXT_ALIGN_HERE);
}