[HELP] SetObjectMaterialText -
Th3N0oB - 21.12.2016
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);
Re: [HELP] SetObjectMaterialText -
CutX - 21.12.2016
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(19371, 0, 0, 5, 0.0000, 0.0000, 89.3610);
SetObjectMaterialText(Text, "example", 0, 140, "Arial", 120, 0, -16730675, 0, 1);
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
Respuesta: Re: [HELP] SetObjectMaterialText -
Th3N0oB - 21.12.2016
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(19371, 0, 0, 5, 0.0000, 0.0000, 89.3610);
SetObjectMaterialText(Text, "example", 0, 140, "Arial", 120, 0, -16730675, 0, 1);
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:
Re: [HELP] SetObjectMaterialText -
Pottus - 21.12.2016
There is plenty of tools to do this in seconds.
Respuesta: Re: [HELP] SetObjectMaterialText -
Th3N0oB - 21.12.2016
Quote:
Originally Posted by Pottus
There is plenty of tools to do this in seconds.
|
Like which, for example?
Re: [HELP] SetObjectMaterialText -
Karolukas123 - 22.12.2016
just use bigger object... to make space for words