Garry's Mod

Garry's Mod

Not enough ratings
uTime [Updated]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
18.249 KB
3 Jun, 2020 @ 9:46am
1 Change Note ( view )

Subscribe to download
uTime [Updated]

In 1 collection by Ikiyoka
The AfterLife | SCP RP
30 items
Description
Years later, I'm in the process of rewriting the code from scratch.

Features
  1. WORK ONLY IN MULTIPLAYER ( SteamID64() - In singleplayer, this will return no value serverside. )
  2. Show how long your players have been connected this session and total
  3. Functions to set time despite existing on client, it doesn't actually do anything on client. So client cannot change his time.
  4. Custom panel
  5. Commands [default access: ACCESS_ADMIN ]:
    - !utime / ulx totaltime <player> <time in seconds> - Set total time in uTime for player
    - !convertime / ulx convertime <player> - Convert time from old system to new. USE IT ONCE PER PLAYER OR VALUE WILL BE ADDED AGAIN

Difference between old uTime and new
  • CurTime() -> RealTime() | Higher uptime
  • UniqueID() -> SteamID64() | UniqueID has collisions, SteamID64 not
  • Functions to set Player time is SHARED -> Functions to set Player time is SHARED but work ONLY on SERVER

Planned features:
  • Multi-language interface.
  • Sugest below.

Map: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1646697716
Idea: https://forums.ulyssesmod.net/index.php?topic=3039.0
Base: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=657474627
4 Comments
>KB> >KEKSQUAD 28 Feb @ 1:21pm 
Hey so there should be a way to edit players' total times via their SteamID if they're not on the server.
Trig 26 Jul, 2022 @ 9:17am 
Hey i installed this into my server and have all the mods needed for it but sadly the time reads -1W 28H 34M 12S and counts but the time is wrong for everyone, did i do something wrong?
kawakis/ 12 Sep, 2021 @ 1:00pm 
hello, how do we see a leaderboard
>KB> >KEKSQUAD 22 Feb, 2021 @ 9:56pm 
Hey so this is probably incompatible with APromote. I have this on my server and the APromote won't list anything despite there being a populated data folder and file for it.