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.
Features
- NPC and player contracts
- Target file and routine
- Method bonuses
- Admin panel
Requirements
| Resource | Required? | What for |
|---|---|---|
nexo_laptop | Yes (1.5.1+) | The app runs inside the laptop |
oxmysql | Yes | Stores data. Tables are created automatically |
| Framework | Yes | Qbox, QBCore, ESX, ox_core |
| Inventory | Yes | ox_inventory, qs, codem, tgiann, core, origen, qb / ps / lj, ESX |
| OneSync | Yes | NPC targets with map routines |
screenshot-basic | Optional | Real proof photo seen by the client and staff |
ox_lib | Optional | Progress 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.
- Download the resource From keymaster.fivem.net → Granted Assets.
- 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.
- Add it to your server.cfg Always after the laptop.
ensure oxmysql ensure nexo_laptop ensure nexo_hitman
- Database Tables are created automatically on start.
- 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
- Board Anonymous contracts with a file: silhouette, partial name, age, car, escorts, routine, methods and pay.
- Accept An approximate area appears. Exact location, schedule or plate are bought separately.
- Real routine The target moves by in-game time and drives with escorts to the next stop.
- Suspicion Rises if it sees you armed, aiming or running: at 55% it warns escorts, at 80% it flees. A disguise lowers it.
- Method and witnesses Shot, melee, poison, car bomb, accident or sniper. No witnesses (40 m) pays extra; with witnesses police get your description.
- 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
downOnlyyou 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.