Announcement

Collapse
No announcement yet.

Object Material Text

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Object Material Text

    Another new feature is to set an object material text. That feature allows you to write your own text on any object, but it requires you to change the object to a specific color.

    It means, that you can't write a text on a road when staying it's material, you'll have to change its color.


    the cmd is:
    /objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128, fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0)

    objectid The ID of the object to replace the texture of with text.

    text The text to show on the object. (MAX 2048 characters)

    materialindex The object's material index to replace with text.

    materialsize The size of the material.

    fontface The font to use.

    fontsize The size of the text (MAX 255).

    bold Bold text. Set to 1 for bold, 0 for not.

    fontcolor The color of the text, in ARGB format.

    backcolor The background color, in ARGB format.

    textalignment The alignment of the text (default: left).

    Note: will make a tutorial
    if my suggestions got accepted

    Thank You
    Last edited by Cpt.Tall; 11-01-15, 10:20 PM.

  • #2
    Another suggestions bump from this thread:
    http://gamerxserver.com/forum/showth...ht=object+text

    I really like this idea..
    KVIrc User
    Robo_N1X is registered on IRC.TL

    Comment


    • #3
      i guess if it get eddited a little bit like , we can set the background texture as we wish or idk , i mean in th e picture above the road was completely black so what if we could modify it with any texture we want
      Bibo's Youtube Channel

      Comment


      • #4
        Originally posted by bibo_lilo View Post
        i guess if it get eddited a little bit like , we can set the background texture as we wish or idk , i mean in th e picture above the road was completely black so what if we could modify it with any texture we want
        http://wiki.sa-mp.com/wiki/SetObjectMaterialText

        It's possible but only plain background, you just have to work on the function.

        Comment


        • #5
          Yes, it would be a very handy thing but I am not going to add it until the memory leak problem with this function is fixed.

          According to posts on the SA-MP forum when you use this function a number of times it will consume more and more memory on the client until it crashes.

          Comment

          There is currently 1 user online. 0 members and 1 guests.

          Most users ever online was 5,526 at 07:09 AM on 11-01-16.

          Working...
          X