Jump to content

Como por a data real no game


Recommended Posts

Posted

Salve galera , estou com uma hud aqui só que não sei como por a data, alguem poderia me ajudar ? a data que digo é que dia é hoje para o player poder ver na hud sem precisar minimizar o jogo. 

  • Other Languages Moderators
Posted
2 minutes ago, DNL291 said:

getRealTime


local time = getRealTime()
local day = day.monthday
local month = day.month + 1
local year = day.year + 1900

 

Não seria time no lugar dos "day."?

  • Like 1

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