[HELP] SetObjectMaterialText
#1

Hello good afternoon.
I'm trying to create a SetObjectMaterialText, but I can not create it as I want, the text repeats itself, and it's not what I want.

pawn Код:
new Text = CreateObject(19460, 2057.3251, 823.2698, 14.5131, 0.0000, 0.0000, 89.3610);
SetObjectMaterialText(Text, "example", 0, 140, "Arial", 255, 0, -16730675, 0, 1);
Reply
#2

Quote:
Originally Posted by Th3N0oB
Посмотреть сообщение
Hello good afternoon.
I'm trying to create a SetObjectMaterialText, but I can not create it as I want, the text repeats itself, and it's not what I want.

pawn Код:
new Text = CreateObject(19460, 2057.3251, 823.2698, 14.5131, 0.0000, 0.0000, 89.3610);
SetObjectMaterialText(Text, "example", 0, 140, "Arial", 255, 0, -16730675, 0, 1);
it repeats exactly 3 times and there's no way of changing that,
since that's just how the textures were created for that object.

it's that 1 wall sprite and they just repeated it 3 times to make the wall bigger
instead of jsut one texture covering the whole thing

just find another object, there are plenty and i remember there being some plain ones too,
perfect for text n stuff like that. im not sure if it's the right one,
but i think this object 19371 is perfect for what you need, material index can stay 0 too on that object

//EDIT: I just tested it with the object i had in mind + adjusted the textsize accordingly
PHP код:
    new Text CreateObject(193710050.00000.000089.3610);
    
SetObjectMaterialText(Text"example"0140"Arial"1200, -1673067501); 
that's what it looks like: http://pasteboard.co/cBmCUPGig.png
it's lil bit smaller of an object, like exactly 1/3 of the one you originally used.
text is max size for that object i.e. both 'e' s touch the objects borers
Reply
#3

Quote:
Originally Posted by CutX
Посмотреть сообщение
it repeats exactly 3 times and there's no way of changing that,
since that's just how the textures were created for that object.

it's that 1 wall sprite and they just repeated it 3 times to make the wall bigger
instead of jsut one texture covering the whole thing

just find another object, there are plenty and i remember there being some plain ones too,
perfect for text n stuff like that. im not sure if it's the right one,
but i think this object 19371 is perfect for what you need, material index can stay 0 too on that object

//EDIT: I just tested it with the object i had in mind + adjusted the textsize accordingly
PHP код:
    new Text CreateObject(193710050.00000.000089.3610);
    
SetObjectMaterialText(Text"example"0140"Arial"1200, -1673067501); 
that's what it looks like: http://pasteboard.co/cBmCUPGig.png
it's lil bit smaller of an object, like exactly 1/3 of the one you originally used.
text is max size for that object i.e. both 'e' s touch the objects borers
The truth that I left very small size and words are cut, I put Las Venturas, but it was like this:
Reply
#4

There is plenty of tools to do this in seconds.
Reply
#5

Quote:
Originally Posted by Pottus
Посмотреть сообщение
There is plenty of tools to do this in seconds.
Like which, for example?
Reply
#6

just use bigger object... to make space for words
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)