Jump to content

Help


Flipi

Recommended Posts

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
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
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 :D

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...