TC ScriptDocumentation

Overview

TC Context Menu

Mouse context menu: right-click a player, ped, vehicle, object or the world.

VisionESXQBCoreQboxStandalonev1.0.0

tc-contextmenu shows the mouse cursor: a right-click on a player, ped, vehicle, object or the world opens a menu with the actions available for that target. Options are added in game (/gestioncontexte) or by code, and options created in game are permanent (database).

Context menu preview on a vehicle

It is a complete rewrite with no third-party code. It uses the same interface kit as the other TC scripts (tc-ui), so it shares the same theme.

#Features

  • Targeting of 6 types: world, ped, player, vehicle, object, self, with highlight of the hovered entity.
  • Submenus, separators, conditions (job, items, admin, ACE, in vehicle, on duty), maximum distance, model filter.
  • In-game management (/gestioncontexte): create, edit, duplicate, delete, enable, test, capture a target with one click, JSON import / export.
  • Built-in option pack (~75 options for player, self, vehicle, object, ped, world, staff, dev), switchable group by group.
  • Simple integration API for other scripts: a tcmenu global, exports, events.
  • ox_target and qb-target compatible: migrate in one line.
  • Performance: 0.00 ms idle, ≤ 0.01 ms with the menu open.

#Dependencies

ResourceStatus
oxmysqlrequired
tc-uirequired (interface)
ox_lib, ox_target, ox_inventorynot needed

Frameworks: Vision, ESX, QBCore, Qbox or standalone (bridge/ layer).

#Pages

#In this section

Last updated : 7 November 2026© 2026 TC Script