15.08.2014, 10:36
I highly recommend you to use streamer plugin by Incognito, it has some kick ass natives which allow you easier use of 3D text labels.
I'm pretty sure this should work!(not tested)
I'm pretty sure this should work!(not tested)
Код:
foreach(new i : Player) { if(SomeVar[i] == 1)//if it's boolean value you can just use if(SomeVar[i]){...} { new Text3D:dummy; dummy = CreateDynamic3DTextLabel("bla bla bla", -1, 0.0, 0.0, 0.3, 10.0, i, .playerid = playerid); SetTimerEx("DummyCallBack", 15000, false, "i", (_:dummy)); } } forward DummyCallBack(Text3D:id); public DummyCallBack(Text3D:id) { DestroyDynamic3DTextLabel(id); }