TC ScriptDocumentation

Overview

TC UI

The interface library shared by every TC script, modelled on ox_lib.

LibraryNUILua

#What is TC UI for?

tc-ui is the interface library common to every TC script. It works like ox_lib: a Lua import (@tc-ui/init.lua), exports, and a NUI kit (CSS + JS) that any page can load.

It gives all scripts the same theme and behaviour (notifications, progress bars, mini-games…). You can also use it in your own scripts.

Hard dependency

Every TC script depends on tc-ui. It must start before them.

#Features

  • Notifications: success, error, warning, information.
  • Progress bars, blocking or driven by the script, with animation and cancellation.
  • Mini-games on the keyboard (precision, sequence) and mouse-driven bomb modules (wires, button, braille, symbols, switches, password, sound).
  • Blocking keypad with server-side validation.
  • Consent prompt “Accept / Refuse” with a countdown.
  • Help HUD, native GTA help text, central crosshair, hints anchored in the world.
  • Interaction points (tc.point): “key + text” prompt without needing a target system.
  • Dialogs: confirmation and forms (text, number, list, checkbox, slider, colour).
  • NUI kit: --tc-* CSS variables, components (tablet, drawer, table, modal…) and JS helpers to build your own interface.

#Resources that use it

ResourceWhat it uses
tc-mechanicFull kit, progress, mini-games, HUD
tc-divisionsKit, keypad, tc.ui
tc-forensicKit, progress, anchored hint, consent prompt
tc-contextmenuKit, tc.ui (management panel)
tc-banana_defuseCSS + JS kit
tc-codestock, tc-logs, tc-motel, tc-handlingKit and tc.ui

#Pages

#In this section

Last updated : 7 November 2026© 2026 TC Script