SA-MP Forums Archive
DynamicObjectMaterialText - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DynamicObjectMaterialText (/showthread.php?tid=596731)



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(193533086.7927, -1049.642229.1146,   90.000000.000000.00000);
    
SetDynamicObjectMaterialText(TestText0"Test"OBJECT_MATERIAL_SIZE_256x128"Arial"2400xFFFFFFFF00); 



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