Setobjectmaterialtext
#1

Well I need help with

Setobjectmaterialtext

I dont really undestand how to use it could anyone make an clear video or something cause I really dont undestand.


https://sampwiki.blast.hk/wiki/SetObjectMaterialText

This didnt really helped me :P
Reply
#2

Use This:

Fun With SetObjectMaterialText
Pastebin for Fun With SetObjectMaterialText

Commands:
  1. dcmd_createtext (/createtext)
  2. dcmd_editobj (/editobj)
  3. dcmd_deleteobject (/deleteobject)
Functions / Parameters:

Код:
SetObjectMaterialText(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.
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).
Reply
#3

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Use This:

Fun With SetObjectMaterialText
Pastebin for Fun With SetObjectMaterialText

Commands:
  1. dcmd_createtext (/createtext)
  2. dcmd_editobj (/editobj)
  3. dcmd_deleteobject (/deleteobject)
Functions / Parameters:

Код:
SetObjectMaterialText(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.
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).
From what I saw its not save able.
Reply
#4

It's savable.
Reply
#5

I think this one is Savable,

Try This One:

iText Object Editor [0.3e RC7+]
Pastebin for Object Text Editor v0.2
SolidFiles for Object Text Editor v0.2

Commands:
  1. /create
  2. /cto
  3. /createto
(NOTE: All Commands makes the Same Thing)

Functions / Parameters:

Код:
SetObjectMaterialText(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.
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).
Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
Код:
modelid = The model you want to use.
Float:X = The X coordinate to create the object at.
Float:Y = The Y coordinate to create the object at.
Float:Z = The Z coordinate to create the object at.
Float:rX = The X rotation of the object.
Float:rY = The Y rotation of the object.
Float:rZ = The Z rotation of the object.
Float:DrawDistance = (optional) The distance that San Andreas renders objects at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x.
Reply
#6

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
I think this one is Savable,

Try This One:

iText Object Editor [0.3e RC7+]
Pastebin for Object Text Editor v0.2
SolidFiles for Object Text Editor v0.2

Commands:
  1. /create
  2. /cto
  3. /createto
(NOTE: All Commands makes the Same Thing)

Functions / Parameters:

Код:
SetObjectMaterialText(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.
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).
Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
Код:
modelid = The model you want to use.
Float:X = The X coordinate to create the object at.
Float:Y = The Y coordinate to create the object at.
Float:Z = The Z coordinate to create the object at.
Float:rX = The X rotation of the object.
Float:rY = The Y rotation of the object.
Float:rZ = The Z rotation of the object.
Float:DrawDistance = (optional) The distance that San Andreas renders objects at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x.
Thanks I gona test it :3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)