Flipi Posted September 14, 2013 Share Posted September 14, 2013 hi, how add shadow in the text (the hour is the text).... here the script: addEventHandler("onClientRender",root, function() local hours = getRealTime().hour local minutes = getRealTime().minute local seconds = getRealTime().second dxDrawText(hours..":"..minutes..":"..seconds,0,0,10,10,tocolor(0,128,255),1.5,"default-bold") end ) Link to comment
xXMADEXx Posted September 14, 2013 Share Posted September 14, 2013 addEventHandler("onClientRender",root, function() local time = getRealTime() local hours = time.hour local minutes = time.minute local seconds = time.second local text = hours..":"..minutes..":"..seconds dxDrawText(text,0,0,10,10,tocolor(0,128,255),1.5,"default-bold") dxDrawText(text,1,1,10,10,tocolor(0,0,255),1.5,"default-bold") end ) Link to comment
Flipi Posted September 14, 2013 Author Share Posted September 14, 2013 addEventHandler("onClientRender",root, function() local time = getRealTime() local hours = time.hour local minutes = time.minute local seconds = time.second local text = hours..":"..minutes..":"..seconds dxDrawText(text,0,0,10,10,tocolor(0,128,255),1.5,"default-bold") dxDrawText(text,1,1,10,10,tocolor(0,0,255),1.5,"default-bold") end ) thanks hehehe Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now