Skip to content

GetWorldTime

The world clock, in hours since midnight.

GetWorldTime()

number - 0 .. 24; 13.5 = 13:30

if GetWorldTime() > 20 or GetWorldTime() < 5 then GivePlayerItem(pid, "torch_weapon") end

SetWorldTime · FormatWorldTime · GetTimeRatio · the The world - clock, weather, terrain, the navmesh, the geometry group of the index