Skip to content

Built-in menus ​

np_menu ships a set of menus built on its own API. They are usable as they are and double as examples. Each one can be switched off.

Menu Key / command Config Who
Quick menu F1 · /quickmenu Config.Builtin.quick Everyone
Radial interactions hold Left Alt Config.Builtin.radial Everyone
Context menu hold G, release Config.Builtin.context Everyone
Tuning shop E in a shop zone (driver seat) Config.Builtin.shops Everyone
Clothing store E in a shop zone Config.Builtin.shops Everyone
Settings /menusettings or the quick menu Config.Builtin.settings Everyone

Keys are RegisterKeyMapping defaults that players can rebind. The shop camera key is C (Config.Keys.shopCamera).

The dev / admin menu (formerly F10) is no longer part of np_menu. It moved to np_admin, see Admin menu (np_admin).

Disabling ​

lua
Config.Builtin = {
  quick = true,     -- F1 quick menu
  radial = true,    -- built-in radial items (the wheel itself and addRadial keep working)
  context = true,   -- "third eye" context menu and addContextOption
  shops = true,     -- tuning shop + clothing store, blips and markers
  settings = true,  -- settings menu (and the quick menu tile)
}

A disabled menu's client and server files return early, so it registers nothing and costs nothing.

Quick menu ​

The F1 grid: phone home-screen pages with a dock. Hold Y on a tile to pin it to the dock.

Quick menu

Tile What it does
ID card View your ID, or show it to the closest player (server action)
Wallet Cash and bank from the framework
Inventory Fires Config.Quick.inventoryEvent; otherwise opens ox_inventory when it's started; otherwise runs Config.Quick.inventoryCommand (default /inventory)
Clothing Take off / put on hat, glasses, mask, top, pants, shoes, bag and vest, and restore your outfit
Emotes Categories (general, gestures, activities, work, dance) with search
Vehicle Only in a vehicle (locked otherwise): engine, doors, windows, seats, extras
Walk style Pick a walk style (kept across restarts). Other resources read it with getWalkstyle()
Job Job and grade, duty toggle through Config.Quick.dutyEvent / dutyEventServer
Bills Fires Config.Quick.billsEvent, or shows a "not available" toast when it's not set
Settings Opens the settings menu
Admin Opens np_admin's quick menu. Only shown while np_admin is started and you are np_admin staff

See Configuration → Quick menu hooks.

Admin menu (np_admin) ​

The admin / dev menu (noclip, time and weather, vehicle tools, player moderation) lives in np_admin now: its quick menu opens with F9 or /am. It still renders with np_menu's staff skin. Config.Builtin.dev, Config.Keys.dev and Config.Admin are gone.

What np_menu keeps:

  • The Admin tile in the quick menu, shown only while np_admin is started and you are np_admin staff. It opens np_admin's menu.
  • A /devmenu command shim so old binds keep working. It opens np_admin's menu while np_admin is started; otherwise it prints a hint in the F8 console.

Radial interactions ​

Items registered with addRadial (see Radial wheel):

Context Items
vehicle Lock / unlock, engine, doors, windows, seats, trunk, lights, give keys
onfoot Emotes, walk style, clothing (open the quick menu's submenus), hands up, point, stop carrying
player Give money, show ID, carry, escort
ped Greet, rob (placeholders, off by default)

Locking uses np_vehiclekeys when started, then qbx_vehiclekeys / qb-vehiclekeys for the key check (Config.Interact.lockMode). Give money, show ID, give keys and carry / escort are server actions (np_menu:interact:*) that re-check distances, amounts and money on the server. Carry and escort send a request the target has to accept (Config.Interact.carry.enabled, off by default).

Context menu ​

Hold G: the entity under the crosshair (Config.Context.distance, 5 m) gets an outline. Release to open its menu.

Context menu

Entity Options
Vehicle Lock / unlock, open / close trunk, check plate, repair (needs Config.Context.repair.item, shows the count), impound (Config.Context.impound.jobs, on duty)
Player Give money, show ID, carry, escort
Object "Pick up" placeholder for Config.Context.pickupModels

Other resources add their own options with addContextOption. The server fires np_menu:interact:impounded (src, plate, model) after an impound so you can persist it.

Tuning shop ​

Drive into one of the Config.Shops.tuning.locations (Benny's and five LS Customs) and press E in the driver seat.

Tuning shop

  • Categories: performance, cosmetics, wheels, respray, lights, neon
  • Every change is previewed live on your vehicle, with a camera preset per category (C cycles) and a stats card
  • The cart sums up the changes. Buy sends the list to np_menu:shops:buyTuning; the server checks you're at the shop, recomputes the price from Config.Shops.prices and charges Config.Shops.tuning.account
  • The original look is restored on cancel, close, death, leaving the vehicle and resource stop
  • After a purchase the server fires np_menu:shops:tuningBought (src, netId, changes, price). Listen to it to persist vehicle props in your garage

With np_mechanic

np_mechanic has its own workshops at the same places. While it runs, np_menu's tuning shop keeps working and np_mechanic persists every purchase: it listens to np_menu:shops:tuningBought, saves the changed props into the framework's vehicle table and writes a service book entry. To use np_mechanic's workshops only, empty the tuning locations (Config.Shops.tuning.locations = {}); the clothing store stays. See np_mechanic → Compatibility.

Clothing store ​

Walk into one of the Config.Shops.clothing.locations and press E.

  • Drawable and texture rows for every component and prop, previewed on your ped
  • Camera presets (face, torso, legs, feet; C cycles) and a rotate slider
  • A flat price per changed slot (Config.Shops.prices.clothing), paid from Config.Shops.clothing.account
  • Saved outfits in client KVP (up to Config.Shops.clothing.maxOutfits). Applying an outfit in the store puts it in the cart; it's charged through the normal buy
  • After a purchase the server fires np_menu:shops:clothingBought (src, changes, price) for your appearance resource

Shops need a framework

Without np_payments, the shops charge money through the framework bridge. In standalone mode every purchase with a price then fails with "No framework with money support is running".

np_payments checkout ​

With np_payments running and Config.Payments = 'auto' (the default), Buy in the tuning shop and the clothing store opens the np_payments checkout sheet on top of the shop. The player can pay from cash or any account they may use.

  • Merchant np_menu:tuning or np_menu:clothing with the location's label, one line per change.
  • Config.Shops.<shop>.account preselects the method. Config.Shops.<shop>.society gets the money (none when unset). Pay later is off.
  • The server still recomputes the price from Config.Shops.prices before the sheet opens.
  • Cancelling keeps the shop open ("Payment cancelled."). A declined payment shows the not-enough-money error, an open checkout "Finish your open payment first.".
  • np_menu:shops:tuningBought and np_menu:shops:clothingBought fire after a paid purchase, as before.
Config.Payments Behaviour
'auto' np_payments while it runs, else the framework bridge. An error from np_payments also falls back
true Always np_payments. Purchases fail while it isn't running
false Never np_payments

Give money to a player never uses np_payments.

Settings ​

See Theming & settings.