Can't get setObjectMaterialText to work properly
#1

Hi!


I recently played around with setObjectMaterialText, but it just comes same text again on whole object
I just want in the middle..

I'm also not fully sure on what size I should use so I can have a big text on about the whole object.
Object id: 8661.

I have tired with different font sizes and OBJECT_MATERIAL_TEXT_ALIGN sizes

But all text won't appear.

Are the object too big?.

Code:

pawn Код:
mso = CreateObject(8661, 1974.24, 1210.57, 41.50,   90.00, 0.00, 90.00);
   
    SetObjectMaterialText(mso,"Maniacs of LV. MSO of LV", 0, OBJECT_MATERIAL_SIZE_512x512, \
    "Arial", 100, 0, 0xFF740AFF, 0xFFFF0A27, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
Reply
#2

I guess yes, object is too big, or maybe it's in a place inside the object but cannot be seen
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)