Creating letters in Map Editor
#1

Don't know if this is the correct section but I see people creating maps and adding their own sentences/words on walls. How do I do this?
Reply
#2

SetObjectMaterialText
Reply
#3

Could you explain a bit more? lol.. Totally lost, don't know what to do.
Reply
#4

Quote:
Originally Posted by ChubbyRioter
Посмотреть сообщение
Could you explain a bit more? lol.. Totally lost, don't know what to do.
pawn Код:
if (strcmp("/text", cmdtext, true) == 0)
{
    new objectid = CreateObject(19353, 0, 0, 10, 0.0, 0.0, 90.0); //create the object
    SetObjectMaterialText(objectid, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,
    "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    // write "SA-MP 0.3e RC7" on the object, with orange font color and black background
    return 1;
}
Reply
#5

Still not getting it, sorry.

Could you maybe tell me step by step? Lol. I use SA-MP Map Editor.
Reply
#6

Quote:
Originally Posted by ChubbyRioter
Посмотреть сообщение
Still not getting it, sorry.

Could you maybe tell me step by step? Lol. I use SA-MP Map Editor.
sorry lad it's not done in the map editor, it's either done via hard coding or with an ingame editor
Reply
#7

Bs.
Do u mean this? https://www.youtube.com/watch?v=8uBW7hWcOxg

Then its:
Quote:
Originally Posted by TaiRinsuru
Посмотреть сообщение
Reply
#8

Bro, check out Texture Studio in my signature.

You can even export your map from Map Construction and import it in Texture Studio. Then just add what you want.

I prefer TS as my map editor, but you can easily continue using Map Construction.
Reply
#9

Try to use SetMaterialObjectText.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)