01.07.2014, 07:55
Hi, i've made this object and the timers to swith the text on the objects. It works perfectly several times but when i come near the object it just turns black..
Any help?
pawn Код:
BlinkText = CreateObject(19462, 1593.76367, -2330.70532, 17.42012, 0.00000, 0.00000, 0.00000);
SetObjectMaterialText(BlinkText, "{FFFFFF}\n\nWELCOME TO SERVER", 0, 90, "Arial Black", 24, 1, 0x000000FF, 1, 1);
SetTimer("TextSwitch", 2000, false);
pawn Код:
public TextSwitch()
{
SetObjectMaterialText(BlinkText, "\n\nENJOY IN GAME!!!", 0, 90, "Arial Black", 24, 1, 0x000000FF, 1, 1);
SetTimer("TextBack", 2000, false);
}
public TextBack()
{
SetObjectMaterialText(BlinkText, "{FFFFFF}\n\nWELCOME TO SERVER", 0, 90, "Arial Black", 24, 1, 0x000000FF, 1, 1);
SetTimer("TextSwitch", 2000, false);
}