SetObjectMaterialText bug?
#1

Hello

I use SetObjectMaterialText like this example:

Code:
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
#2

I post on server bug i thinks
Reply
#3

nobody? old here https://sampforum.blast.hk/showthread.php?tid=377343 no answer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)