getTime
Client
Returns the game time on this client.
int, int getTime()
Returns
The hour (0 to 23) and the minutes (0 to 59).
Example
local hours, minutes = getTime()
if hours >= 20 or hours < 6 then
outputDebugString("It is night.")
endReturns the game time on this client.
The hour (0 to 23) and the minutes (0 to 59).
local hours, minutes = getTime()
if hours >= 20 or hours < 6 then
outputDebugString("It is night.")
end