Author Topic: Help in SetObjectMaterialText (Modifying Textures)  (Read 890 times)

Offline GodFatherDenzell

  • Sr. Member
  • ****
  • Posts: 407
  • cookies: 23
  • The GodMother
  • IG name: Pepe_The_Frog
Help in SetObjectMaterialText (Modifying Textures)
« on: January 04, 2017, 09:57 »
I'm having a blurred text ... how to fix this?



Here's my PAWN Code:

Code: [Select]
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);
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

Offline Sjomp

  • Administrator
  • Hero Member
  • ******
  • Posts: 2,688
  • cookies: 90
  • Jansie de Palingboer
  • IG name: Sjomp
Re: Help in SetObjectMaterialText (Modifying Textures)
« Reply #1 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
« Last Edit: January 04, 2017, 10:56 by Sjomp »

Offline Doc.

  • Development Team
  • Hero Member
  • *****
  • Posts: 639
  • cookies: 22
  • IG name: Doc.
Re: Help in SetObjectMaterialText (Modifying Textures)
« Reply #2 on: January 04, 2017, 11:03 »
whats the material index u used?
Quote from: TiPiR
trolldock

Offline GodFatherDenzell

  • Sr. Member
  • ****
  • Posts: 407
  • cookies: 23
  • The GodMother
  • IG name: Pepe_The_Frog
Re: Help in SetObjectMaterialText (Modifying Textures)
« Reply #3 on: January 04, 2017, 11:52 »
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:-)

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

Offline GodFatherDenzell

  • Sr. Member
  • ****
  • Posts: 407
  • cookies: 23
  • The GodMother
  • IG name: Pepe_The_Frog
Re: Help in SetObjectMaterialText (Modifying Textures)
« Reply #4 on: January 04, 2017, 11:52 »
whats the material index u used?

3 for that object ID 3336 (The road sign i used )
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.