config/config.lua
Main Settings
The UI used for the handler conversation.
"projectx" uses the projectx-ui cinematic dialog, "ox" uses an ox_lib alert dialog. If projectx-ui is not started, the ox_lib dialog is used automatically.Shows the contract objectives on the
projectx-ui task tracker. Requires projectx-ui to be started.Maximum contracts running at the same time on the server. Each player can only have one contract, and each location can only host one.
The jobs that count as police for the
MinimumPolice check and dispatch alerts.Cooldowns & Limits
Per-player cooldown in minutes after a contract ends (completed, failed, or abandoned). Set to
0 to disable.Maximum contracts that can be taken per server restart (not per player). Set to
0 to disable.Skill System
Requires players to meet a minimum level from an integrated XP/skill system before taking a contract. Must have an XP system configured in the bridge.
Dispatch
Dispatch is sent when a witness reports a body, not when the contract starts.Time in seconds the dispatch alert remains visible. Not all dispatch systems support this.
Percentage chance when the target died in an “accident” (see
Config.WeaponClasses["accident"]).Evidence
Handler
Config.Handler controls the NPC that hands out contracts and pays them out.
Idle scenario. You can use
Animation = {Dict = "", Anim = "", Flag = 1} instead.Contract
When
true, the contract fails if someone else kills the target. Accidents count if the owner is within AccidentRange.(
OwnerMustKill only) The owner has to be this close to the body when the target dies without a killer (fall, drowning, etc.).When
true, the player has to take a photo of the body before returning to the handler. When false, the kill is enough.Minutes to get back to the handler after the proof (or the kill when
ProofRequired = false).Maximum distance between the target and the center of the area blip (kept under 80% of the radius). Locations with a fixed
Area ignore this and AreaBlip.Radius.The target gets spooked by a drawn gun within this distance (in line of sight), or suppressed gunfire within this distance. Any damage also spooks the target. Melee weapons and holstered guns never do.
The contract fails if a spooked target gets this far from where they were standing.
The handler cancels the contract after this many innocents are killed. Set to
0 to disable.Percentage taken off when the client asked for a specific weapon class and the player used something else. Set to
0 to disable.Proof
How far from the center of the screen the body can be (
0.5 = anywhere on screen). Shown in game by the corner brackets of the viewfinder.Camera field of view. Players zoom in and out with the mouse wheel between
Min and Max.Payout
"cash" pays money to Account. "item" gives Item instead (e.g. marked bills or black money).Bonuses
Bonuses are a percentage of the base pay. The killing blow is read on the server (cause of death and the game’s damage event), so the client never tells the server how the target died. On contracts with more than one target, each bonus is worked out per target and averaged, so a headshot on one of two targets gives half the headshot bonus.Weapon Requests
Sometimes the client wants the job done a certain way. Each tier has aRequestChance of a request being added to the contract. Doing it the client’s way adds that class’s Bonus to the payout. On multi-target contracts the request applies to every target.
Weapons are the cause of death the game reports, so
"accident" covers getting run over, falling, drowning, and burning.Targets
The target’s look and the description the handler gives. Each profile has a Included profiles:
Model, a Description, and Decoys: similar looking models that spawn around the target so the player has to identify the right one. A profile can also use Variants with several model / description / decoy sets.snitch, redneck, dealer, accountant, biker, boss.Tiers
Config.Tiers defines the contract difficulty levels. Each contract rolls a tier based on Chance.
Guards and lookouts are per target.
Pay and TimeLimit are for the whole contract.
Bodyguards
Lookouts
Lookouts stand near the target. If one spots the player, they get on the phone, and afterCallTime seconds the target is warned (spooked). Take the lookout out before the call goes through to stop it.
Revenge
A target who saw the player and got away can send people after them. Revenge only rolls when the contract fails for one of theReasons while a target is still alive and spooked (or has escaped). The chance and number of hunters come from the tier’s Revenge setting.
After Delay minutes, a car with the hunters spawns SpawnDistance away from the player and drives to them. The player is warned, and the hunters give up after Duration minutes, or when the player dies.
Locations
Config.Locations defines where targets can spawn. Eight locations are included: Legion Square, Sandy Shores, Mirror Park, Del Perro Pier, Vespucci Beach, Grove Street, Paleto Bay, and Vinewood Boulevard.
The number of decoys spawned is capped at the number of
DecoySpawns in the location. Give each location at least as many DecoySpawns as the highest tier’s Decoys count (6 by default) to get the full amount. Decoys spawn once per location, so two targets in the same location share them.A multi-target contract needs free locations (or free TargetSpawns) for every target. If there aren’t enough, the contract is offered with fewer targets.Logs
Configured inconfig/logs.lua.
