
Untitled
By: a guest on
Aug 19th, 2012 | syntax:
Lua | size: 0.58 KB | hits: 11 | expires: Never
addEventHandler("onClientRender",root,
function displayTimer()
if ( isTimer ( timer ) ) then
local timeLeft = ( getTimerDetails ( timer ) / 1000 )
dxDrawText("To leave this area!",557.0,318.0,872.0,368.0,tocolor(255,0,0,255),2.0,"default","left","top",false,false,false)
dxDrawText("10",630.0,277.0,690.0,324.0,tocolor(255,0,0,255),3.0,"default","left","top",false,false,false)
dxDrawText("You have: ".. tostring ( timeLeft ),546.0,224.0,725.0,271.0,tocolor(255,0,0,255),4.0,"default","left","top",false,false,false)
end
end
)
setTimer ( displayTimer, 10000, 1 )