- Initiateur de la discussion
MrDroweed
Geek
- Messages
- 54
- Score réaction
- 1
- Points
- 65
Bonjour, j'aimerais savoir comment retiré les noms qui sont affiché sur l'addon utime en haut a droite, Merci pour votre aide
function PANEL:Think() if self.Size == self.Small then self.playerInfo:SetVisible( false ) else if LocalPlayer():IsUserGroup("moderateur") or LocalPlayer():IsUserGroup("admin") or LocalPlayer():IsUserGroup("superadmin") or LocalPlayer():IsUserGroup("Chef-Admin") then self.playerInfo:SetVisible( true ) end end local tr = util.GetPlayerTrace( LocalPlayer(), LocalPlayer():GetAimVector() ) local trace = util.TraceLine( tr ) if trace.Entity and trace.Entity:IsValid() and trace.Entity:IsPlayer() and not trace.Entity:GetNWBool("disguised", false) then -- Last conditional is TTT disguiser if LocalPlayer():IsUserGroup("moderateur") or LocalPlayer():IsUserGroup("admin") or LocalPlayer():IsUserGroup("superadmin") or LocalPlayer():IsUserGroup("Chef-Admin") then self.TargetSize = self.Large self.playerInfo:SetPlayer( trace.Entity ) locktime = CurTime() end end if locktime + 2 < CurTime() then self.TargetSize = self.Small end if self.Size ~= self.TargetSize then self.Size = math.Approach( self.Size, self.TargetSize, (math.abs( self.Size - self.TargetSize ) + 1) * 8 * FrameTime() ) self:PerformLayout() end self.total:SetText( timeToStr( LocalPlayer():GetUTimeTotalTime() ) ) self.session:SetText( timeToStr( LocalPlayer():GetUTimeSessionTime() ) )
end