DynamicObjectMaterialText
#1

Alright so the problem is quite simple, im trying to set DynamicObjectMaterialTest but seems im failing at something Im missing. Cant really get my head on what Im missing, the text isnt visible at all
PHP код:
TestText CreateDynamicObject(193533086.7927, -1049.642229.1146,   90.000000.000000.00000);
    
SetDynamicObjectMaterialText(TestText0"Test"OBJECT_MATERIAL_SIZE_256x128"Arial"2400xFFFFFFFF00); 
Reply
#2

pawn Код:
new object_id = CreateDynamicObject(19353, 135.39607, -82.57928, 2.25444, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterialText(object_id, 0, "Hello World", 30, "Arial", 15, 0, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_LEFT);
Reply
#3

Hmm thanks!
Reply
#4

There is 1 small problem tho, the text is duplicated
Reply
#5

It's like that, it shows the text on both sides.
Reply
#6

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
It's like that, it shows the text on both sides.
No, not just like that, I dont mind having it on both sides, but for example, it displays as much text as it can on any side
Reply
#7

-nevermind-
Reply
#8

Why not just use a mapping filterscript it would make things a lot easier.
Reply
#9

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Why not just use a mapping filterscript it would make things a lot easier.
Yeah, I just did, helped me a lot haha, thanks for the suggestion
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)