Textdraws disappearing
#3

That's gotta be one of the most bizzare scripts I've ever seen. I didn't (can't) watch the video so also no idea why it would disappear, TextDrawHide* or TextDrawDestroy on a conflicting ID might cause this.

So, things to correct, in your "TimerSec" public, why loop through all online players when you can use TextDrawShowForAll, also your format was that "most bizzare" thing to me, you can make it simpler:
pawn Код:
format(string, sizeof(string), "%02d:%02d", hour, minute);
The "%02d" will format a number to only 2 decimals (the "2d" part) and a "0" in front signifies pad with zeroes if not long enough, e.g. "09:08" for 9:08AM.

Edit: MicroD was faster, I was writing this "wall of text".
Reply


Messages In This Thread
Textdraws disappearing - by tsonn1 - 17.08.2014, 11:41
Re: Textdraws disappearing - by MicroD - 17.08.2014, 11:46
Re: Textdraws disappearing - by Virtual1ty - 17.08.2014, 11:57
Re: Textdraws disappearing - by tsonn1 - 17.08.2014, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)