SetObjectMaterialText problem
#1

Well, I added this lines into my gamemode and it doesn't work. It sets my gamemode size to 0. Can someone help me out ?

Код:
//Test

new MyObject2 = CreateObject(19353, -208.3112, 1119.1740, 21.9221, 0.0000, 0.0000, 0.0117);
SetObjectMaterialText(MyObject2, "City Hall", 0, 50, "Arial", 15, 1, -1, 0, 1);
Reply
#2

Try this:
pawn Код:
new MyObject2 = CreateObject(19353, -208.3112, 1119.1740, 21.9221, 0.0000, 0.0000, 0.0117);
SetObjectMaterialText(MyObject2, "City Hall", 0, OBJECT_MATERIAL_SIZE_128x64, "Arial", 15, 1, 0xFFFFFFFF, 0xFFFFFFFF, 1);
You can change 0xFFFFFFFF to any color you want, just make sure it's in hexadecimal/ARGB format.
Reply
#3

Well. Yours works pretty good.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)