Jump to content

Help script


Flipi

Recommended Posts

local weekdays = 
    { 
        [ 1 ] = "Sunday", 
        [ 2 ] = "Monday", 
        [ 3 ] = "Tuesday", 
        [ 4 ] = "Wednesday", 
        [ 5 ] = "Thursday", 
        [ 6 ] = "Friday", 
        [ 7 ] = "Saturday" 
    } 
  
function getDayName ( ) 
    local realTime = getRealTime ( ) 
    return weekdays [ realTime.monthday ] 
end 

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...