Libraries

Color Colour helper functions.
base64 Base 64 encoding library.
bit LuaJIT's bit library.
builtin Built in values.
channels Channels Library for sending data across server->server or client->client instances.
chat Chat functions
console Console library.
constraint Constraint library.
coroutine Coroutine library.
debug Debug library.
effects Effects library for creating effects and particles.
emitter Emitter library.
emoji Emoji library, used to draw emoji.
ents Entities Library
faction Factions library for interfacing with the server's faction system.
fastlz FastLZ library.
files File functions.
find Find library.
globaltables Cross-instance tables
holograms Library for creating and manipulating physics-less models AKA "Holograms".
hook Deals with hooks
http HTTP library, allows sending HTTP requests.
hud HUD library.
input Input library, for dealing with keyboard/mouse input on the client.
io IO library, for advanced Lua style file manipulation.
json JSON library.
math Lua's (not glua's) math library, plus clamp, lerp, remap, round, randfloat and some easing functions.
mesh Mesh library to facilitate drawing dynamic meshes.
net Networking library.
npc NPC library for altering NPC behaviour.
os GLua's os library.
permissions Permissions library.
profiler Profiler library for recording execution time.
propprotection Prop protection library.
props Prop spawning library.
quaternion Quaternion library.
render Render library.
rendertarget Render target library.
screen Screen library.
serverinfo Server info functions.
sounds Sound functions.
spacebuild 'Spacebuild' library for interfacing with SBEP/Stargazer.
starfall Starfall library.
stargate Stargate library for interfacing with the Carter's Addon Pack.
string Lua's (not glua's) string library
system System library.
table Lua's (not glua's) table library
time Deals with time and timers.
timer Deals with timers.
trace Provides functions for doing line/AABB traces and intersection tests.
utf8 GLua's utf8 library.
util Utility library.
vgui VGUI library.
von VON library.
wire Wire library.

Hooks

calcview Called on a HUD when you are linked to it.
canexitvehicle Called when a player is attempting to leave an engine vehicle (e.g. a chair).
chatboxclosed Called on a HUD when you are linked to it and the chatbox has been closed.
chatboxopened Called on a HUD when you are linked to it and the chatbox has been opened.
chattextchanged Called on a HUD when you are linked to it and the text in the chatbox input has changed.
checkfiledownload Called when a file is requested by a client from an asynchronous include.
checktricorderoverride Called when a player is attempting to use their tricorder/scanner on the Starfall entity with this hook.
dtvarchanged Called when a DTVar value is changed (if change detection was enabled by net.listenForDTVarChanges() or net.listenForAllDTVarChanges()).
entityremoved Called when an entity is removed.
entitytakedamage Called when an entity takes damage through the server's damage system.
hudlink Called when a player links to your HUD (clientside only).
hudshoulddraw Called on a HUD when you are linked to it.
hudunlink Called when a player unlinks from your HUD (clientside only).
input Called when an input on a wired SF chip is written to
inputmouseapply Called when mouse input is applied to the local player's view.
keypress Called when a player presses an input button.
keyrelease Called when a player releases an input button.
net Called when a network message is received.
networkentitycreated Called when a networked entity has been created.
notifyshouldtransmit Called when an entity enters or leaves the local player's PVS.
oncontextmenuclose Called when the GMod context menu is closed (-menu_context keybind).
oncontextmenuopen Called when the GMod context menu is opened (+menu_context keybind).
onentitycreated Called when an entity is created.
onentityscanstarted Called when the local player starts scanning an entity with a scanning weapon.
onentityscanstopped Called when the local player stops scanning an entity with a scanning weapon.
onremove Called when the chip is being removed or updated with new code.
onscreensizechanged Called when the game's screen resolution has changed.
permissiongranted Runs when a permission has been granted to this instance.
permissionrevoked Runs when a permission has been revoked from this instance.
playerattempteduse Called when a player attempts to use an entity.
playerauthed Called when a player's Steam ID has been confirmed.
playerbindpress Called when a player runs a command.
playerbuttondown Called when a player presses down any button.
playerbuttonup Called when a player releases any button.
playerdeath Called when a player dies.
playerdisconnected Called when a player disconnects.
playerenteredvehicle Called when a player enters an engine vehicle (e.g. a chair).
playerinitialspawn Called when a player spawns for the first time.
playerleavevehicle Called when a player leaves an engine vehicle (e.g. a chair), after any exit animation is completed.
playerspawn Called when a player spawns.
playeruse Called when a player successfully uses an entity after passing prop protection checks.
postduplicationpaste Called when the duplication the chip is a part of has been fully restored.
postentitypaste Called when the chip has been restored.
preentitycopy Called when the chip is being copied.
readcell Called when a high speed device reads from a wired SF chip
render Called when a frame is requested to be drawn.
renderoverlay Called on HUDs and emitters when they need to render their overlay (i.e. when the local player is looking at the chip).
starfall_used Called when a player presses use on the screen entity this instance is running on.
think Called once per game tick on the server and once per frame on the client.
tick Called once per game tick on both the client and the server.
tricorderoverride Called when a player successfully uses their tricorder/scanner on the Starfall entity with this hook.
writecell Called when a high speed device writes to a wired SF chip

Valid XHTML 1.0!