ULX

Author Topic: Utime -- Show how long your players have been connected this session and total  (Read 558194 times)

0 Members and 12 Guests are viewing this topic.

Offline Rupert Cow

  • Newbie
  • *
  • Posts: 1
  • Karma: -1
    • RavenX Gaming
Nice very nice!  ;D

Offline TheAndroid1

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Hmm, since TTT is included with gmod by default, I'll look into it, but it may be too specific for me to address in UTime.

Line 145 in cl_utime.lua change it to:
Code: [Select]
if !trace.Entity:GetNWBool("disguised", false) then
self.TargetSize = self.Large
self.playerInfo:SetPlayer( trace.Entity )
locktime = CurTime()
end

Offline SaintSin

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
My work around the disguiser glitch was to simply just remove the name bar and instead we added an advertisement to our site were the names would appear. Although it is a pain when you want to get someones name it does prevent the glitch. So it has its pros and cons, you decide if it is worth it.
Also I moved the Utime down to the bottom left of the HUD because the utime window would cover the notifications when people discovered bodies.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Line 145 in cl_utime.lua change it to:
Code: [Select]
if !trace.Entity:GetNWBool("disguised", false) then
self.TargetSize = self.Large
self.playerInfo:SetPlayer( trace.Entity )
locktime = CurTime()
end

Thanks for sharing your patch!
Experiencing God's grace one day at a time.

Offline TheAndroid1

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Thanks for sharing your patch!
No problem!  :)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Your patch was integrated into Utime, by the way.
Experiencing God's grace one day at a time.

Offline TheAndroid1

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Your patch was integrated into Utime, by the way.
Nice ;D

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given