DynamicObjectMaterialText -
TwinkiDaBoss - 21.12.2015
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(19353, 3086.7927, -1049.6422, 29.1146, 90.00000, 0.00000, 0.00000);
SetDynamicObjectMaterialText(TestText, 0, "Test", OBJECT_MATERIAL_SIZE_256x128, "Arial", 24, 0, 0xFFFFFFFF, 0, 0);
Re: DynamicObjectMaterialText -
SickAttack - 21.12.2015
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);
Re: DynamicObjectMaterialText -
TwinkiDaBoss - 22.12.2015
Hmm thanks!
Re: DynamicObjectMaterialText -
TwinkiDaBoss - 22.12.2015
There is 1 small problem tho, the text is duplicated
Re: DynamicObjectMaterialText -
SickAttack - 22.12.2015
It's like that, it shows the text on both sides.
Re: DynamicObjectMaterialText -
TwinkiDaBoss - 22.12.2015
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
Re: DynamicObjectMaterialText -
TwinkiDaBoss - 22.12.2015
-nevermind-
Re: DynamicObjectMaterialText -
Pottus - 22.12.2015
Why not just use a mapping filterscript it would make things a lot easier.
Re: DynamicObjectMaterialText -
TwinkiDaBoss - 22.12.2015
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