Hi, I use this for my murder server... Is there a permission or setting that I can set that it removes it from certain players being able to view it? I know utime_enable 0 but I want the players not able to use that command.
Thanks
M21z
I'm sure there's a better way but what you can do is: In addons/utime/lua/autorun go to cl_utime.lua in the first section of code look for this chunk of code, it is in the think() function
if not utime_enable:GetBool() or not IsValid( LocalPlayer() ) or
(IsValid( LocalPlayer():GetActiveWeapon() ) and LocalPlayer():GetActiveWeapon():GetClass() == "gmod_camera") then
gpanel:SetVisible( false )
else
gpanel:SetVisible( true )
end
You should be able to simply change the part that says gpanel:SetVisible( true ) to gpanel:SetVisible( false ) . After doing so no matter if the player has utime_enable 1 or Utime_enable 0 the box should not show. This is useful if you want to make alternative methods of checking times, because in some gamemodes it just looks bad, or it ruins a part of the gamemode (like looking at somebody with a disguiser on ttt)