SetObjectMaterialText bug?
#1

Hello

I use SetObjectMaterialText like this example:

Код:
public testrandom()
new string[156];
new test = random(3);
format(string, sizeof(string), "num %d",test );
SetObjectMaterialText(object1, string, 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 20, 0, 0xFFFFFFAA, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

/command
testrandom()
Works fine, return "num 1 or 2 or 0..." but after I used 15-16 times the /command who call testrandom() SetObjectMaterialText is blocked on the last and don't show other number

Why?

thanks
Reply


Messages In This Thread
SetObjectMaterialText bug? - by ombre - 09.03.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)