Page 1 of 1

Clock Widget

Posted: 21 Jun 2007, 13:09
by CaptainMaim
How can I edit the clock widget so that it won't get covered up by the ping value on the last player? Cause that makes it impossible to read what the game time is.

Posted: 21 Jun 2007, 13:10
by AF
*move to lua forum*

Posted: 21 Jun 2007, 14:28
by Relative
Silly AF, mod powers are for mods.

Posted: 21 Jun 2007, 18:55
by caldera
i have this problem too, so i changed the position of the clock and fps-digits.

i have no idea of programming with lua, so this is probably not a very elegant solution, but it works:

Code: Select all

function widget:DrawScreen()
  gl.Color(color)
  gl.Text(GetTimeString(), xpos-390, ypos, size, format)
end