TextDraw Won't Show Up
#1

I made my own Derby script and I've been trying to add a TextDraw to show the time left but for some reason it won't show up. Can anyone see a problem with my code?

new Text:derbyTimer;
derbyTimer = TextDrawCreate(240.0, 580.0, "00:00");
new tmptime = gettime();
format(timestr, sizeof(timestr), "%d seconds", tmptime);
TextDrawSetString(derbyTimer, timestr);
TextDrawShowForPlayer(players[i], derbyTimer);

That gets used for all of the players in the derby, which is the players array. I'd really appreciate some help with this because I can't see the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)