NEXO DOCSv1 · ENES
docs / laptop / laptop-hitman

Nexo Hitman

Take the contract, leave no witnesses. Anonymous hits on NPCs or players, with target files, routines, bonuses and an admin panel.

v1.0.0QboxQBCoreESXOX

Features

  • NPC and player contracts
  • Target file and routine
  • Method bonuses
  • Admin panel

Requirements

ResourceRequired?What for
nexo_laptopYes (1.5.1+)The app runs inside the laptop
oxmysqlYesStores data. Tables are created automatically
FrameworkYesQbox, QBCore, ESX, ox_core
InventoryYesox_inventory, qs, codem, tgiann, core, origen, qb / ps / lj, ESX
OneSyncYesNPC targets with map routines
screenshot-basicOptionalReal proof photo seen by the client and staff
ox_libOptionalProgress bars and notifications

Installation

Includes the Nexo LaptopYou get the Nexo Laptop for free in Keymaster with the app. Install it first following its guide.
  1. Download the resource From keymaster.fivem.net → Granted Assets.
  2. Copy it to resources/ Named nexo_hitman.
    Don't rename itThe folder must be named exactly nexo_hitman. Otherwise it won't start (server, client or app) and warns in the console.
  3. Add it to your server.cfg Always after the laptop.
    ensure oxmysql
    ensure nexo_laptop
    ensure nexo_hitman
  4. Database Tables are created automatically on start.
  5. Staff permissions For the Administration tab. Groups in Config.Admin.groups also work.
    add_ace group.admin nexo_hitman.admin allow

Create the items

They come ready in the install/ folder. In ox_inventory they include server = { export = 'nexo_hitman.useItem' }.

['hm_disguise_waiter'] = { label = 'Waiter uniform', weight = 500, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_disguise_worker'] = { label = 'Worker clothes', weight = 500, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_disguise_courier'] = { label = 'Courier clothes', weight = 500, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_disguise_medic'] = { label = 'Doctor's coat', weight = 500, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_poison'] = { label = 'Poison', weight = 100, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_carbomb'] = { label = 'Car bomb', weight = 1500, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_rifle_rental'] = { label = 'Rifle rental', weight = 100, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },
['hm_burner'] = { label = 'Burner phone', weight = 150, stack = true, close = true, server = { export = 'nexo_hitman.useItem' } },

How it works

  1. Board Anonymous contracts with a file: silhouette, partial name, age, car, escorts, routine, methods and pay.
  2. Accept An approximate area appears. Exact location, schedule or plate are bought separately.
  3. Real routine The target moves by in-game time and drives with escorts to the next stop.
  4. Suspicion Rises if it sees you armed, aiming or running: at 55% it warns escorts, at 80% it flees. A disguise lowers it.
  5. Method and witnesses Shot, melee, poison, car bomb, accident or sniper. No witnesses (40 m) pays extra; with witnesses police get your description.
  6. Proof and escape Photo next to the body (E) and get 500 m away. Paid in dirty money.
  • Team contracts (difficulty 3+) and open contracts (first one gets paid).
  • Post a contract: money is held in escrow and refunded if unfulfilled. Encrypted chat deleted after one hour.
  • Player contracts: off by default. With downOnly you only need to down them.

In-game administration

  • Rules: players on or off, photo, escrow, cooldowns, fee, escape distance, police alert, witnesses, dispatch and Discord.
  • Payouts per difficulty and NPC targets (Create here): works with any map or MLO.
  • Contracts and a log with the real hitman and client, result and photo.

Exports

exports.nexo_hitman:useItem   -- for ox_inventory
NewContract({ diff = 1, group = 'mirror' })   -- creates a contract (difficulty 1-4)

Discord logs

The webhook goes in server/config.lua (server only: it never reaches players).

SvConfig.Discord = { enabled = true, webhook = 'https://discord.com/api/webhooks/...' }

The webhook goes in server/config.lua. Auto-detects ps, cd, qs, core, rcore, origen_police, tk and lb-tablet; otherwise uses its own alert.