Skip to content

Utils advutil

Tensa edited this page Jun 2, 2017 · 6 revisions

utils/sh_advutil and utils/cl_advutil

AdvNS extension utility functions.

These utility functions are only used in AdvNS, and the code that uses this utility function does not guarantee compatibility with existing NS 1.0.

Functions

Share

  • AdvNut.util.GetPlayerTraceEntity(client)

  • AdvNut.util.CreateIdentifier(subIdentifier, caller)

  • AdvNut.util.LoadCachedConfigs()

  • AdvNut.util.DrawOutline(panel, th, color)

  • AdvNut.util.DrawBackgroundBlur(panel)

  • AdvNut.util.RemoveBackgroundBlur(panel)

  • AdvNut.util.GetScreenScaleFontSize(fontSize)

  • AdvNut.util.DrawRoundedBox(panel, corner, x, y, w, h)

  • AdvNut.util.GetCurrentMenuSize()

  • AdvNut.util.GetCurrentMenuPos()

  • AdvNut.util.GetPanelScreenCenterPosition(panel, width, height)

  • AdvNut.util.DrawCenterGradient(x, y, w, h, color)

  • AdvNut.util.Draw3DText(text, font, x, y, color, alignX, alignY)

  • AdvNut.util.GetTextSize(font, text)

Client

  • AdvNut.util.WriteTable(uniqueID, value)

  • AdvNut.util.ReadTable(uniqueID)

Clone this wiki locally