Skip to main content

General Questions

The script supports QBCore, Qbox, and ESX through the Project X Bridge. Set Framework to 'auto' in the bridge config and it will detect your framework automatically.Custom frameworks and any other framework work as well if you add the framework exports in the bridge’s open source files. Set Framework to 'custom' and implement the adapter functions in projectx-bridge. See the Bridge Overview.
Yes. The bridge is required for this script to function. It handles framework detection, inventory, dispatch, notifications, progressbars, XP, evidence, and logs. See the Bridge Installation page for setup instructions.When you purchase Bounty Hunter, the projectx-bridge asset is automatically delivered to your CFX portal.
No. projectx-ui adds the handler’s cinematic dialog and the on-screen task tracker. Without it, the handler uses an ox_lib alert dialog and no task tracker is shown.
1

Talk to the handler

The handler offers a contract: the target’s name (or several names on elite contracts), a description, the area they were last seen in, the time limit, and the pay. Sometimes the client wants it done a certain way (e.g. “with a blade” or “make it look like an accident”) for extra pay.
2

Find the target

Only the area is marked on the map, one per target. The target is mixed in with decoy bystanders who look alike, so use the description to pick the right one.
3

Take them out

Higher tiers have armour, a weapon, bodyguards, and lookouts. If the target gets spooked, they flee, cower, or fight back depending on the tier.
4

Take a photo of the body

With ProofRequired = true, photograph each body before the time limit runs out. The phone camera opens: zoom with the mouse wheel, get the body inside the corner brackets, and take the picture. The body has to be within Proof.MaxDistance and nothing can be in the way.
5

Return to the handler

Get back within ReturnTime minutes to get paid, with bonuses and penalties applied.
A drawn gun within SpookDistance (in line of sight), unsuppressed gunfire within ShotSpookDistance, suppressed gunfire within SpookDistance, or any damage. Melee weapons and holstered guns never spook the target. If a spooked target gets EscapeDistance away from their starting point, the contract fails.A lookout who spots the player also warns the target. See below.
Professional and elite targets have lookouts nearby (Lookouts in the tier). A lookout spots an armed player in line of sight within SpotDistance, or any player within DetectDistance. They then get on the phone, and after CallTime seconds (4 by default) the target is spooked. Take the lookout out during the call to stop the warning.
If a contract fails because the target escaped or time ran out while the target was spooked, the target may send people after the player. The chance and the number of hunters depend on the tier (25% / 50% / 75% by default). A few minutes later the player is warned, and a car of armed hunters comes for them. They give up after Config.Revenge.Duration minutes. Set Config.Revenge.Reward to pay players for taking them all out, or Enabled = false to turn revenge off.
Bonuses are a percentage of the base pay, capped at Config.Bonuses.MaxTotal (200% by default):
  • Headshot — 15%
  • Suppressed — 15%
  • Long range (150m+) — 20%
  • Quick work (within 33% of the time limit) — 20%
  • Ghost (target never spooked, no innocents or guards killed) — 25%
  • Client’s request — the weapon class bonus (10% to 75%)
On contracts with more than one target, each bonus is averaged across the targets.Each innocent killed takes InnocentPenalty % (25% by default) off the payout. The kill is read on the server from the cause of death and the game’s damage events, so it can’t be faked from the client.
A contract fails when:
  • The time limit runs out before every kill (and the proofs)
  • You don’t return to the handler within ReturnTime
  • A spooked target escapes
  • The target ped disappears (e.g. deleted by another script)
  • Someone else kills the target (with OwnerMustKill = true)
  • You kill InnocentFailAt innocents (3 by default)
Not when the contract starts. A witness calls it in Dispatch.Delay seconds after a death, with a chance based on how it happened: 60% for a normal kill, 15% if suppressed, 5% for an accident, and 100% when an innocent is killed.
Use the /projectxbountyhunter command (requires admin permissions, or run it from the server console), or call the Reset() server export from another resource:
See the Commands and Exports pages for more details.

Configuration Questions

Set MinimumPolice to the number you want in config/config.lua, and make sure the correct jobs are listed in PoliceJobs.
Set Config.Payout.Type to "item" and choose the item:
For a custom payout (e.g. marked bills with a worth value), edit PayContract in opensource/server/server.lua.
Set Config.Proof.Item to your phone item, e.g. "phone". To skip the photo entirely, set Config.Contract.ProofRequired = false.
Set Config.Contract.OwnerMustKill = false. The contract then no longer fails when someone else kills the target.
Set SkillSystem to true and configure MinimumLevel in config/config.lua. You also need a compatible XP system integrated in the bridge config (XPSystem).Supported systems include pickle_xp, sd-levels, cw-rep, and OT_skills.
Copy an existing entry in Config.Locations, rename the key, and update the Label, Area, TargetSpawns, and DecoySpawns. Mark indoor target spawns with Inside = true so the client never requests a sniper kill there.
Set Targets in the tier to a number, or to {min = 1, max = 3} for a random count. Each target gets their own location and area blip when one is free. Raise Pay and TimeLimit to match, since both are for the whole contract.
Add a Locations list to the tier, e.g. Locations = {"legion", "vinewood"}. Without it, the tier uses every location.
Set Lookouts = 0 in each tier to remove lookouts. Set Config.Revenge.Enabled = false to turn revenge off, or set a tier’s Revenge.Chance to 0.
Add a profile to Config.TargetProfiles with a Model, Description, and look-alike Decoys, then add its key to the Profiles list of the tiers that should use it.

Troubleshooting

Make sure projectx-bridge and ox_lib are started before the script in your server.cfg, and that OneSync is enabled.
MaxActiveContracts has been reached, or every location is already in use. Each location can only host one contract at a time, and a multi-target contract can take up several. Add more locations or raise MaxActiveContracts.
Check that your job isn’t in BlacklistedJobs, that you aren’t on a player cooldown (Cooldown.PlayerCooldown), and that you haven’t hit the restart limits.
Both need projectx-ui started before the script. Without it, the handler falls back to the ox_lib dialog.