Material text
#6

Quote:
Originally Posted by IgrexolonO
View Post
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);
}
Err what? Why would you be starting at 152 and going up? And what's with the ANIM_LIMIT? 0_o

pawn Code:
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);
}
Just make sure you add the objects into an array, then replace the parameters with your own standards accordingly.
Reply


Messages In This Thread
Material text - by Ectazy - 25.01.2013, 16:40
Re: Material text - by Roach_ - 25.01.2013, 16:44
Re: Material text - by Ectazy - 25.01.2013, 16:57
Re: Material text - by Ectazy - 26.01.2013, 11:40
Re: Material text - by IgrexolonO - 26.01.2013, 11:42
Re: Material text - by Threshold - 26.01.2013, 13:01
Re: Material text - by Ectazy - 26.01.2013, 14:12

Forum Jump:


Users browsing this thread: 6 Guest(s)