Convoy Trucking

Hyde Park => GTA & SA-MP => Topic started by: Clucker on January 04, 2017, 09:57

Title: Help in SetObjectMaterialText (Modifying Textures)
Post by: Clucker on January 04, 2017, 09:57
I'm having a blurred text ... how to fix this?

(http://i.imgur.com/dMmH2ck.jpg)

Here's my PAWN Code:

new CO1 = CreateObject(3336, -1382.71143, 2226.81665, 52.74769,   0.00000, 0.00000, 108.98981);
SetObjectMaterialText(CO1, "Skyway >>", 3, 20,
"Arial", 6, 1, 0xFFFFFFFF, 0x009900, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
Title: Re: Help in SetObjectMaterialText (Modifying Textures)
Post by: Sjomp on January 04, 2017, 10:50
Maybe increase the text size? 6 is really small I think.
Try 24 that's default.

Edit: I think you should change your meterial size to: OBJECT_MATERIAL_SIZE_256x128
Title: Re: Help in SetObjectMaterialText (Modifying Textures)
Post by: Doc. on January 04, 2017, 11:03
whats the material index u used?
Title: Re: Help in SetObjectMaterialText (Modifying Textures)
Post by: Clucker on January 04, 2017, 11:52
Quote from: Sjomp on January 04, 2017, 10:50
Maybe increase the text size? 6 is really small I think.
Try 24 that's default.

Edit: I think you should change your meterial size to: OBJECT_MATERIAL_SIZE_256x128

Thanks Sjomp <3 My Hero  :3  O:-)  C:-)

(http://i.imgur.com/MaZwpg3.jpg)
Title: Re: Help in SetObjectMaterialText (Modifying Textures)
Post by: Clucker on January 04, 2017, 11:52
Quote from: DOC on January 04, 2017, 11:03
whats the material index u used?

3 for that object ID 3336 (The road sign i used )